home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-11 | 601.0 KB | [STAK/dPro] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: MacDraw Pro Help
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Apr 11 09:30:00 1991, modified Thu Apr 11 09:30:00 1991, creator 'dPro', type HyperCard stack, 576480 bytes "MacDraw Pro Help" , at 0x8cc60 38738 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [dPro] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4d 61 63 44 72 61 | 77 20 50 72 6f 20 48 65 |..MacDra|w Pro He|
|00000010| 6c 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |lp......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 64 50 72 | 6f 01 00 00 00 00 00 00 |.STAKdPr|o.......|
|00000050| 00 00 00 00 08 cb e0 00 | 00 97 52 a4 2a 15 58 a4 |........|..R.*.X.|
|00000060| 2a 15 58 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |*.X.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e3 37 00 00 |........|.....7..|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff da 33 ea 3a |..b.STAK|.....3.:|
|00000090| 00 00 00 08 00 08 cb e0 | 00 00 62 00 00 00 00 00 |........|..b.....|
|000000a0| 00 00 00 04 00 00 00 05 | 00 00 1b 2d 00 00 00 d2 |........|...-....|
|000000b0| 00 00 08 54 00 00 0a d3 | 00 00 00 00 00 00 00 00 |...T....|........|
|000000c0| 00 00 33 c0 00 00 00 00 | 00 01 00 00 90 00 00 00 |..3.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 01 25 80 00 | 01 25 80 00 01 25 80 00 |."...%..|.%...%..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 49 92 49 92 49 92 49 92 |.."...".|I.I.I.I.|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ee ee dd dd bb bb 77 77 |........|......ww|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 00 78 78 78 78 00 00 00 | aa 55 aa 55 aa 55 aa 55 |.xxxx...|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| cc 66 33 99 cc 66 33 19 | ff 80 80 80 80 80 80 80 |.f3..f3.|........|
|00000450| 08 10 20 40 80 01 02 04 | ff 80 80 80 ff 08 08 08 |.. @....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 70 75 73 |on openS|tack.pus|
|00000690| 68 20 63 64 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |h cd.end| openSta|
|000006a0| 63 6b 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 48 65 6c |ck..func|tion Hel|
|000006b0| 70 56 65 72 73 69 6f 6e | 0d 72 65 74 75 72 6e 20 |pVersion|.return |
|000006c0| 22 4d 61 75 69 20 48 65 | 6c 70 20 32 2e 30 35 22 |"Maui He|lp 2.05"|
|000006d0| 0d 65 6e 64 20 48 65 6c | 70 56 65 72 73 69 6f 6e |.end Hel|pVersion|
|000006e0| 0d 0d 6f 6e 20 53 68 69 | 70 4d 65 0d 53 61 76 65 |..on Shi|pMe.Save|
|000006f0| 53 63 72 69 70 74 20 28 | 74 68 65 20 73 63 72 69 |Script (|the scri|
|00000700| 70 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |pt of th|is stack|
|00000710| 29 0d 6c 6f 63 6b 41 6c | 6c 0d 52 65 6d 6f 76 65 |).lockAl|l.Remove|
|00000720| 43 64 49 6e 66 6f 0d 73 | 65 74 20 74 68 65 20 73 |CdInfo.s|et the s|
|00000730| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 73 74 |cript of| this st|
|00000740| 61 63 6b 20 74 6f 20 6c | 69 6e 65 20 31 20 74 6f |ack to l|ine 1 to|
|00000750| 20 33 20 6f 66 20 74 68 | 65 20 73 63 72 69 70 74 | 3 of th|e script|
|00000760| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 65 | of this| stack.e|
|00000770| 6e 64 20 73 68 69 70 4d | 65 0d 0d 6f 6e 20 73 61 |nd shipM|e..on sa|
|00000780| 76 65 53 63 72 69 70 74 | 20 74 68 65 53 63 72 69 |veScript| theScri|
|00000790| 70 74 0d 2d 2d 53 75 70 | 70 6f 72 74 20 6f 6e 6c |pt.--Sup|port onl|
|000007a0| 79 0d 67 6c 6f 62 61 6c | 20 63 6f 6d 65 62 61 63 |y.global| comebac|
|000007b0| 6b 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 4d 65 |k.set th|e lockMe|
|000007c0| 73 73 61 67 65 73 20 74 | 6f 20 74 72 75 65 0d 70 |ssages t|o true.p|
|000007d0| 75 74 20 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |ut the l|ong name|
|000007e0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 69 6e 74 6f | of this| cd into|
|000007f0| 20 63 6f 6d 65 62 61 63 | 6b 0d 67 6f 20 68 6f 6d | comebac|k.go hom|
|00000800| 65 0d 64 6f 4d 65 6e 75 | 20 22 6e 65 77 20 62 75 |e.doMenu| "new bu|
|00000810| 74 74 6f 6e 22 0d 73 65 | 74 20 74 68 65 20 73 63 |tton".se|t the sc|
|00000820| 72 69 70 74 20 6f 66 20 | 6c 61 73 74 20 62 74 6e |ript of |last btn|
|00000830| 20 74 6f 20 22 6f 6e 20 | 6d 6f 75 73 65 55 70 22 | to "on |mouseUp"|
|00000840| 20 26 20 72 65 74 75 72 | 6e 20 26 c2 0d 22 50 75 | & retur|n &.."Pu|
|00000850| 74 4d 65 42 61 63 6b 22 | 20 26 20 72 65 74 75 72 |tMeBack"| & retur|
|00000860| 6e 20 26 c2 0d 22 67 6f | 22 20 26 26 20 63 6f 6d |n &.."go|" && com|
|00000870| 65 62 61 63 6b 20 26 20 | 72 65 74 75 72 6e 20 26 |eback & |return &|
|00000880| c2 0d 22 49 6e 73 74 61 | 6c 6c 53 63 72 69 70 74 |.."Insta|llScript|
|00000890| 22 20 26 20 72 65 74 75 | 72 6e 20 26 c2 0d 22 65 |" & retu|rn &.."e|
|000008a0| 6e 64 20 6d 6f 75 73 65 | 55 70 22 20 26 20 72 65 |nd mouse|Up" & re|
|000008b0| 74 75 72 6e 20 26 c2 0d | 74 68 65 53 63 72 69 70 |turn &..|theScrip|
|000008c0| 74 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |t.set th|e name o|
|000008d0| 66 20 6c 61 73 74 20 62 | 74 6e 20 74 6f 20 22 52 |f last b|tn to "R|
|000008e0| 65 73 65 74 20 48 65 6c | 70 20 73 74 61 63 6b 22 |eset Hel|p stack"|
|000008f0| 0d 70 75 74 20 22 74 68 | 65 20 73 63 72 69 70 74 |.put "th|e script|
|00000900| 20 68 61 73 20 62 65 65 | 6e 20 73 61 76 65 64 20 | has bee|n saved |
|00000910| 74 6f 20 61 20 62 74 6e | 20 69 6e 20 74 68 65 20 |to a btn| in the |
|00000920| 68 6f 6d 65 20 73 74 61 | 63 6b 22 0d 75 6e 6c 6f |home sta|ck".unlo|
|00000930| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 74 20 22 50 |ck scree|n.put "P|
|00000940| 6c 65 61 73 65 20 63 6c | 69 63 6b 20 61 74 20 74 |lease cl|ick at t|
|00000950| 68 65 20 6c 6f 63 20 79 | 6f 75 20 77 61 6e 74 20 |he loc y|ou want |
|00000960| 74 68 65 20 62 74 6e 20 | 74 6f 20 62 65 2e 2e 2e |the btn |to be...|
|00000970| 22 0d 72 65 70 65 61 74 | 20 77 68 69 6c 65 20 74 |".repeat| while t|
|00000980| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 75 70 0d 73 |he mouse| is up.s|
|00000990| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 6c 61 |et the l|oc of la|
|000009a0| 73 74 20 62 74 6e 20 74 | 6f 20 74 68 65 20 6d 6f |st btn t|o the mo|
|000009b0| 75 73 65 4c 6f 63 0d 65 | 6e 64 20 72 65 70 65 61 |useLoc.e|nd repea|
|000009c0| 74 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |t.visual| effect |
|000009d0| 64 69 73 73 6f 6c 76 65 | 0d 67 6f 20 63 6f 6d 65 |dissolve|.go come|
|000009e0| 62 61 63 6b 0d 65 6e 64 | 20 73 61 76 65 53 63 72 |back.end| saveScr|
|000009f0| 69 70 74 0d 0d 6f 6e 20 | 70 75 74 4d 65 42 61 63 |ipt..on |putMeBac|
|00000a00| 6b 0d 2d 2d 20 53 75 70 | 70 6f 72 74 20 6f 6e 6c |k.-- Sup|port onl|
|00000a10| 79 0d 67 6c 6f 62 61 6c | 20 74 68 65 53 63 72 69 |y.global| theScri|
|00000a20| 70 74 0d 70 75 74 20 74 | 68 65 20 73 63 72 69 70 |pt.put t|he scrip|
|00000a30| 74 20 6f 66 20 6d 65 20 | 69 6e 74 6f 20 74 68 65 |t of me |into the|
|00000a40| 53 63 72 69 70 74 0d 65 | 6e 64 20 70 75 74 4d 65 |Script.e|nd putMe|
|00000a50| 42 61 63 6b 0d 0d 6f 6e | 20 69 6e 73 74 61 6c 6c |Back..on| install|
|00000a60| 53 63 72 69 70 74 0d 2d | 2d 73 75 70 70 6f 72 74 |Script.-|-support|
|00000a70| 20 6f 6e 6c 79 0d 67 6c | 6f 62 61 6c 20 74 68 65 | only.gl|obal the|
|00000a80| 53 63 72 69 70 74 0d 69 | 66 20 74 68 65 53 63 72 |Script.i|f theScr|
|00000a90| 69 70 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ipt is e|mpty the|
|00000aa0| 6e 20 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |n exit t|o hyperc|
|00000ab0| 61 72 64 0d 61 6e 73 77 | 65 72 20 22 53 65 74 20 |ard.answ|er "Set |
|00000ac0| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |the scri|pt of th|
|00000ad0| 69 73 20 73 74 61 63 6b | 20 74 6f 20 74 68 65 20 |is stack| to the |
|00000ae0| 73 75 70 70 6f 72 74 20 | 73 63 72 69 70 74 3f 22 |support |script?"|
|00000af0| 20 77 69 74 68 20 22 4f | 4b 22 20 6f 72 20 43 61 | with "O|K" or Ca|
|00000b00| 6e 63 65 6c 22 0d 69 66 | 20 69 74 20 69 73 20 22 |ncel".if| it is "|
|00000b10| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |Cancel" |then exi|
|00000b20| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 73 |t to hyp|ercard.s|
|00000b30| 65 74 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |et the s|cript of|
|00000b40| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 74 | this st|ack to t|
|00000b50| 68 65 53 63 72 69 70 74 | 0d 65 6e 64 20 69 6e 73 |heScript|.end ins|
|00000b60| 74 61 6c 6c 53 63 72 69 | 70 74 0d 0d 6f 6e 20 6c |tallScri|pt..on l|
|00000b70| 6f 63 6b 41 6c 6c 0d 2d | 2d 20 20 6c 6f 63 6b 20 |ockAll.-|- lock |
|00000b80| 73 63 72 65 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |screen.r|epeat wi|
|00000b90| 74 68 20 78 3d 31 20 74 | 6f 20 74 68 65 20 6e 75 |th x=1 t|o the nu|
|00000ba0| 6d 62 65 72 20 6f 66 20 | 63 64 73 0d 73 65 74 20 |mber of |cds.set |
|00000bb0| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|00000bc0| 73 79 0d 67 6f 20 63 64 | 20 78 0d 69 66 20 74 68 |sy.go cd| x.if th|
|00000bd0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 74 6e 73 |e number| of btns|
|00000be0| 20 3e 20 30 20 74 68 65 | 6e 0d 69 66 20 6c 69 6e | > 0 the|n.if lin|
|00000bf0| 65 20 32 20 6f 66 20 74 | 68 65 20 73 63 72 69 70 |e 2 of t|he scrip|
|00000c00| 74 20 6f 66 20 62 74 6e | 20 31 20 3d 20 22 20 20 |t of btn| 1 = " |
|00000c10| 67 65 74 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 6c |get line| 2 of fl|
|00000c20| 64 20 73 75 62 73 65 63 | 74 69 6f 6e 22 20 74 68 |d subsec|tion" th|
|00000c30| 65 6e 0d 73 65 6e 64 20 | 6d 6f 75 73 65 55 70 20 |en.send |mouseUp |
|00000c40| 74 6f 20 62 74 6e 20 31 | 0d 73 65 74 20 74 68 65 |to btn 1|.set the|
|00000c50| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 74 6e 20 31 | hilite |of btn 1|
|00000c60| 20 74 6f 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 | to fals|e.end if|
|00000c70| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00000c80| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 62 |at.repea|t with b|
|00000c90| 3d 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |=1 to th|e number|
|00000ca0| 20 6f 66 20 62 67 73 0d | 73 65 74 20 63 75 72 73 | of bgs.|set curs|
|00000cb0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 67 6f 20 62 67 |or to bu|sy.go bg|
|00000cc0| 20 62 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 | b.repea|t with x|
|00000cd0| 3d 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |=1 to th|e number|
|00000ce0| 20 6f 66 20 66 6c 64 73 | 0d 73 65 74 20 63 75 72 | of flds|.set cur|
|00000cf0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 65 74 20 |sor to b|usy.set |
|00000d00| 74 68 65 20 6c 6f 63 6b | 54 65 78 74 20 6f 66 20 |the lock|Text of |
|00000d10| 66 6c 64 20 78 20 74 6f | 20 74 72 75 65 0d 65 6e |fld x to| true.en|
|00000d20| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |d repeat|.end rep|
|00000d30| 65 61 74 0d 64 6f 4d 65 | 6e 75 20 22 63 6f 6d 70 |eat.doMe|nu "comp|
|00000d40| 61 63 74 20 73 74 61 63 | 6b 22 0d 64 6f 4d 65 6e |act stac|k".doMen|
|00000d50| 75 20 22 63 6f 6d 70 61 | 63 74 20 73 74 61 63 6b |u "compa|ct stack|
|00000d60| 22 0d 73 65 74 20 74 68 | 65 20 75 73 65 72 6c 65 |".set th|e userle|
|00000d70| 76 65 6c 20 74 6f 20 31 | 0d 64 6f 4d 65 6e 75 20 |vel to 1|.doMenu |
|00000d80| 22 50 72 6f 74 65 63 74 | 20 73 74 61 63 6b 2e 2e |"Protect| stack..|
|00000d90| 2e 22 0d 65 6e 64 20 6c | 6f 63 6b 41 6c 6c 0d 0d |.".end l|ockAll..|
|00000da0| 6f 6e 20 52 65 6d 6f 76 | 65 43 64 49 6e 66 6f 0d |on Remov|eCdInfo.|
|00000db0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 3d 31 20 |repeat w|ith x=1 |
|00000dc0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00000dd0| 20 62 67 73 0d 73 65 74 | 20 63 75 72 73 6f 72 20 | bgs.set| cursor |
|00000de0| 74 6f 20 62 75 73 79 0d | 67 6f 20 62 67 20 78 0d |to busy.|go bg x.|
|00000df0| 73 65 6c 65 63 74 20 66 | 6c 64 20 22 52 65 76 69 |select f|ld "Revi|
|00000e00| 65 77 4e 75 6d 22 0d 64 | 6f 4d 65 6e 75 20 22 43 |ewNum".d|oMenu "C|
|00000e10| 6c 65 61 72 20 66 69 65 | 6c 64 22 0d 65 6e 64 20 |lear fie|ld".end |
|00000e20| 72 65 70 65 61 74 0d 65 | 6e 64 20 52 65 6d 6f 76 |repeat.e|nd Remov|
|00000e30| 65 43 64 49 6e 66 6f 0d | 0d 6f 6e 20 52 65 6d 6f |eCdInfo.|.on Remo|
|00000e40| 76 65 50 72 69 6e 74 0d | 67 6f 20 63 64 20 22 43 |vePrint.|go cd "C|
|00000e50| 6f 6e 74 65 6e 74 73 20 | 74 65 6d 70 6c 61 74 65 |ontents |template|
|00000e60| 22 0d 73 65 6c 65 63 74 | 20 62 74 6e 20 22 50 72 |".select| btn "Pr|
|00000e70| 69 6e 74 22 0d 64 6f 4d | 65 6e 75 20 22 63 6c 65 |int".doM|enu "cle|
|00000e80| 61 72 20 62 75 74 74 6f | 6e 22 0d 65 6e 64 20 52 |ar butto|n".end R|
|00000e90| 65 6d 6f 76 65 50 72 69 | 6e 74 0d 0d 6f 6e 20 49 |emovePri|nt..on I|
|00000ea0| 6e 73 74 61 6c 6c 43 64 | 49 4e 46 4f 0d 6c 6f 63 |nstallCd|INFO.loc|
|00000eb0| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat |
|00000ec0| 77 69 74 68 20 78 3d 31 | 20 74 6f 20 74 68 65 20 |with x=1| to the |
|00000ed0| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 73 0d 73 65 |number o|f bgs.se|
|00000ee0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00000ef0| 0d 67 6f 20 62 67 20 78 | 0d 73 65 74 20 74 68 65 |.go bg x|.set the|
|00000f00| 20 65 64 69 74 42 6b 67 | 6e 64 20 74 6f 20 74 72 | editBkg|nd to tr|
|00000f10| 75 65 0d 64 6f 4d 65 6e | 75 20 22 4e 65 77 20 66 |ue.doMen|u "New f|
|00000f20| 69 65 6c 64 22 0d 73 65 | 74 20 74 68 65 20 6e 61 |ield".se|t the na|
|00000f30| 6d 65 20 6f 66 20 6c 61 | 73 74 20 66 6c 64 20 74 |me of la|st fld t|
|00000f40| 6f 20 22 52 65 76 69 65 | 77 4e 75 6d 22 0d 73 65 |o "Revie|wNum".se|
|00000f50| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 6c 61 |t the re|ct of la|
|00000f60| 73 74 20 66 6c 64 20 74 | 6f 20 33 37 30 2c 32 35 |st fld t|o 370,25|
|00000f70| 2c 34 37 35 2c 33 38 0d | 73 65 74 20 74 68 65 20 |,475,38.|set the |
|00000f80| 65 64 69 74 42 6b 67 6e | 64 20 74 6f 20 66 61 6c |editBkgn|d to fal|
|00000f90| 73 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |se.end r|epeat.en|
|00000fa0| 64 20 69 6e 73 74 61 6c | 6c 43 64 49 4e 46 4f 00 |d instal|lCdINFO.|
|00000fb0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 63 6c 69 63 |.end if.|end clic|
|00000fc0| 6b 42 74 6e 73 0d 0d 6f | 6e 20 73 65 74 53 63 72 |kBtns..o|n setScr|
|00000fd0| 20 74 68 65 49 44 2c 78 | 0d 69 66 20 78 3d 32 20 | theID,x|.if x=2 |
|00000fe0| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 73 63 72 |then.set| the scr|
|00000ff0| 69 70 74 20 6f 66 20 62 | 67 20 62 74 6e 20 69 64 |ipt of b|g btn id|
|00001000| 20 32 33 20 74 6f 20 67 | 65 74 53 63 72 69 70 74 | 23 to g|etScript|
|00001010| 28 74 68 65 49 44 29 0d | 73 65 74 20 74 68 65 20 |(theID).|set the |
|00001020| 73 63 72 69 70 74 20 6f | 66 20 62 67 20 62 74 6e |script o|f bg btn|
|00001030| 20 69 64 20 31 35 35 20 | 74 6f 20 67 65 74 53 63 | id 155 |to getSc|
|00001040| 72 69 70 74 28 74 68 65 | 49 44 29 0d 65 6c 73 65 |ript(the|ID).else|
|00001050| 20 69 66 20 78 3d 33 20 | 74 68 65 6e 0d 73 65 74 | if x=3 |then.set|
|00001060| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 62 | the scr|ipt of b|
|00001070| 67 20 62 74 6e 20 69 64 | 20 32 33 20 74 6f 20 67 |g btn id| 23 to g|
|00001080| 65 74 53 63 72 69 70 74 | 28 74 68 65 49 44 29 0d |etScript|(theID).|
|00001090| 73 65 74 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |set the |script o|
|000010a0| 66 20 62 67 20 62 74 6e | 20 69 64 20 32 33 34 20 |f bg btn| id 234 |
|000010b0| 74 6f 20 67 65 74 53 63 | 72 69 70 74 28 74 68 65 |to getSc|ript(the|
|000010c0| 49 44 29 0d 65 6c 73 65 | 20 69 66 20 20 78 3d 34 |ID).else| if x=4|
|000010d0| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 73 63 | then.se|t the sc|
|000010e0| 72 69 70 74 20 6f 66 20 | 62 67 20 62 74 6e 20 69 |ript of |bg btn i|
|000010f0| 64 20 32 33 20 74 6f 20 | 67 65 74 53 63 72 69 70 |d 23 to |getScrip|
|00001100| 74 28 74 68 65 49 44 29 | 0d 73 65 74 20 74 68 65 |t(theID)|.set the|
|00001110| 20 73 63 72 69 70 74 20 | 6f 66 20 62 67 20 62 74 | script |of bg bt|
|00001120| 6e 20 69 64 20 32 33 34 | 20 74 6f 20 67 65 74 53 |n id 234| to getS|
|00001130| 63 72 69 70 74 28 74 68 | 65 49 44 29 0d 65 6c 73 |cript(th|eID).els|
|00001140| 65 20 69 66 20 78 3d 35 | 20 74 68 65 6e 0d 73 65 |e if x=5| then.se|
|00001150| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|00001160| 62 67 20 62 74 6e 20 69 | 64 20 32 39 20 74 6f 20 |bg btn i|d 29 to |
|00001170| 67 65 74 53 63 72 69 70 | 74 28 74 68 65 49 44 29 |getScrip|t(theID)|
|00001180| 0d 73 65 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |.set the| script |
|00001190| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 39 32 20 |of bg bt|n id 92 |
|000011a0| 74 6f 20 67 65 74 53 63 | 72 69 70 74 28 74 68 65 |to getSc|ript(the|
|000011b0| 49 44 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 73 |ID).end |if.end s|
|000011c0| 65 74 53 63 72 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |etScr..f|unction |
|000011d0| 72 65 70 65 61 74 65 72 | 0d 72 65 74 75 72 6e 20 |repeater|.return |
|000011e0| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 6c 69 6e |last wor|d of lin|
|000011f0| 65 20 31 20 6f 66 20 66 | 6c 64 20 22 63 6f 6e 74 |e 1 of f|ld "cont|
|00001200| 69 6e 75 65 64 22 0d 65 | 6e 64 20 72 65 70 65 61 |inued".e|nd repea|
|00001210| 74 65 72 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |ter..fun|ction ge|
|00001220| 74 53 63 72 69 70 74 20 | 74 68 65 49 44 0d 2d 2d |tScript |theID.--|
|00001230| 20 72 65 74 75 72 6e 20 | 22 67 6f 20 63 64 20 69 | return |"go cd i|
|00001240| 64 22 20 26 26 20 74 68 | 65 49 44 0d 2d 2d 70 75 |d" && th|eID.--pu|
|00001250| 74 20 74 68 65 49 44 20 | 69 6e 74 6f 20 6c 69 6e |t theID |into lin|
|00001260| 65 20 33 20 6f 66 20 66 | 6c 64 20 63 68 61 70 74 |e 3 of f|ld chapt|
|00001270| 65 72 0d 70 75 74 20 22 | 6f 6e 20 6d 6f 75 73 65 |er.put "|on mouse|
|00001280| 55 70 22 20 26 20 72 65 | 74 75 72 6e 20 26 c2 0d |Up" & re|turn &..|
|00001290| 2d 2d 22 67 6f 20 63 61 | 72 64 20 69 64 22 20 26 |--"go ca|rd id" &|
|000012a0| 26 20 74 68 65 49 44 20 | 26 20 72 65 74 75 72 6e |& theID |& return|
|000012b0| 20 26 c2 0d 22 67 65 74 | 20 6c 69 6e 65 20 33 20 | &.."get| line 3 |
|000012c0| 6f 66 20 66 6c 64 20 63 | 68 61 70 74 65 72 22 20 |of fld c|hapter" |
|000012d0| 26 20 72 65 74 75 72 6e | 20 26 c2 0d 22 67 6f 20 |& return| &.."go |
|000012e0| 63 64 20 69 64 20 69 74 | 22 20 26 20 72 65 74 75 |cd id it|" & retu|
|000012f0| 72 6e 20 26 c2 0d 22 65 | 6e 64 20 6d 6f 75 73 65 |rn &.."e|nd mouse|
|00001300| 55 70 22 20 69 6e 74 6f | 20 73 63 72 0d 72 65 74 |Up" into| scr.ret|
|00001310| 75 72 6e 20 73 63 72 0d | 65 6e 64 20 67 65 74 53 |urn scr.|end getS|
|00001320| 63 72 69 70 74 00 20 33 | 20 6f 66 20 66 6c 64 20 |cript. 3| of fld |
|00001330| 63 68 61 70 74 65 72 22 | 20 26 20 72 65 74 75 72 |chapter"| & retur|
|00001340| 6e 20 26 c2 0d 22 67 6f | 20 63 64 20 69 64 20 69 |n &.."go| cd id i|
|00001350| 74 22 20 26 20 72 65 74 | 75 72 6e 20 26 c2 0d 22 |t" & ret|urn &.."|
|00001360| 65 6e 64 20 6d 6f 75 73 | 65 55 70 22 20 69 6e 74 |end mous|eUp" int|
|00001370| 6f 20 73 63 72 0d 72 65 | 74 75 72 6e 20 73 63 72 |o scr.re|turn scr|
|00001380| 0d 65 6e 64 20 67 65 74 | 53 63 72 69 70 74 00 66 |.end get|Script.f|
|00001390| 0d 68 69 64 65 20 6d 73 | 67 0d 65 6e 64 20 69 6d |.hide ms|g.end im|
|000013a0| 70 6f 72 74 41 72 74 0d | 0d 6f 6e 20 67 65 74 61 |portArt.|.on geta|
|000013b0| 72 74 20 73 61 66 65 74 | 79 0d 70 75 74 20 67 65 |rt safet|y.put ge|
|000013c0| 74 61 72 74 66 69 6c 65 | 28 29 20 69 6e 74 6f 20 |tartfile|() into |
|000013d0| 79 0d 69 66 20 79 20 ad | 20 22 2a 2a 2a 22 20 74 |y.if y .| "***" t|
|000013e0| 68 65 6e 0d 69 66 20 73 | 61 66 65 74 79 20 ad 20 |hen.if s|afety . |
|000013f0| 22 21 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |"!" then|.answer |
|00001400| 22 49 6d 70 6f 72 74 20 | 50 4e 54 47 20 6f 72 20 |"Import |PNTG or |
|00001410| 50 49 43 54 20 66 69 6c | 65 3f 22 20 77 69 74 68 |PICT fil|e?" with|
|00001420| 20 22 50 4e 54 47 22 20 | 6f 72 20 22 50 49 43 54 | "PNTG" |or "PICT|
|00001430| 22 0d 65 6c 73 65 0d 70 | 75 74 20 22 50 49 43 54 |".else.p|ut "PICT|
|00001440| 22 20 69 6e 74 6f 20 69 | 74 0d 65 6e 64 20 69 66 |" into i|t.end if|
|00001450| 0d 69 66 20 69 74 20 3d | 20 22 50 49 43 54 22 20 |.if it =| "PICT" |
|00001460| 74 68 65 6e 0d 69 66 20 | 79 20 3d 20 22 22 20 74 |then.if |y = "" t|
|00001470| 68 65 6e 0d 70 75 74 20 | 22 4e 6f 20 61 72 74 20 |hen.put |"No art |
|00001480| 73 70 65 63 69 66 69 65 | 64 20 66 6f 72 20 d2 22 |specifie|d for ."|
|00001490| 20 26 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d | & the s|hort nam|
|000014a0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 26 20 c2 |e of thi|s cd & .|
|000014b0| 0d 22 d3 2c 20 63 61 72 | 64 22 20 26 26 20 74 6f |."., car|d" && to|
|000014c0| 70 70 6f 73 28 29 0d 67 | 65 74 20 66 69 6c 65 6e |ppos().g|et filen|
|000014d0| 61 6d 65 28 22 50 49 43 | 54 22 2c 22 50 6c 65 61 |ame("PIC|T","Plea|
|000014e0| 73 65 20 63 68 6f 6f 73 | 65 20 61 20 50 49 43 54 |se choos|e a PICT|
|000014f0| 20 66 69 6c 65 2e 22 29 | 0d 69 66 20 69 74 20 ad | file.")|.if it .|
|00001500| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 69 74 20 | "" then|.put it |
|00001510| 69 6e 74 6f 20 79 0d 65 | 6c 73 65 0d 65 78 69 74 |into y.e|lse.exit|
|00001520| 20 67 65 74 61 72 74 0d | 65 6e 64 20 69 66 0d 68 | getart.|end if.h|
|00001530| 69 64 65 20 6d 73 67 0d | 65 6e 64 20 69 66 0d 63 |ide msg.|end if.c|
|00001540| 68 6f 6f 73 65 20 4c 61 | 73 73 6f 20 54 6f 6f 6c |hoose La|sso Tool|
|00001550| 0d 64 6f 4d 65 6e 75 20 | 22 53 65 6c 65 63 74 22 |.doMenu |"Select"|
|00001560| 0d 69 66 20 74 68 65 20 | 74 6f 6f 6c 20 3d 20 22 |.if the |tool = "|
|00001570| 4c 61 73 73 6f 20 54 6f | 6f 6c 22 20 74 68 65 6e |Lasso To|ol" then|
|00001580| 0d 70 75 74 20 22 21 22 | 20 69 6e 74 6f 20 63 73 |.put "!"| into cs|
|00001590| 74 61 74 0d 64 6f 4d 65 | 6e 75 20 22 43 75 74 20 |tat.doMe|nu "Cut |
|000015a0| 50 69 63 74 75 72 65 22 | 0d 65 6c 73 65 0d 70 75 |Picture"|.else.pu|
|000015b0| 74 20 22 22 20 69 6e 74 | 6f 20 63 73 74 61 74 0d |t "" int|o cstat.|
|000015c0| 65 6e 64 20 69 66 0d 50 | 49 43 54 46 69 6c 65 54 |end if.P|ICTFileT|
|000015d0| 6f 43 6c 69 70 20 28 79 | 29 0d 69 66 20 77 6f 72 |oClip (y|).if wor|
|000015e0| 64 20 31 20 6f 66 20 74 | 68 65 20 72 65 73 75 6c |d 1 of t|he resul|
|000015f0| 74 20 3d 20 22 45 72 72 | 6f 72 22 20 74 68 65 6e |t = "Err|or" then|
|00001600| 0d 61 6e 73 77 65 72 20 | 74 68 65 20 72 65 73 75 |.answer |the resu|
|00001610| 6c 74 0d 69 66 20 63 73 | 74 61 74 20 3d 20 22 21 |lt.if cs|tat = "!|
|00001620| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 22 20 69 6e |" then.p|ut "" in|
|00001630| 74 6f 20 63 73 74 61 74 | 0d 64 6f 4d 65 6e 75 20 |to cstat|.doMenu |
|00001640| 22 50 61 73 74 65 20 50 | 69 63 74 75 72 65 22 0d |"Paste P|icture".|
|00001650| 65 6e 64 20 69 66 0d 65 | 78 69 74 20 67 65 74 61 |end if.e|xit geta|
|00001660| 72 74 0d 65 6c 73 65 0d | 64 6f 4d 65 6e 75 20 22 |rt.else.|doMenu "|
|00001670| 50 61 73 74 65 20 50 69 | 63 74 75 72 65 22 0d 65 |Paste Pi|cture".e|
|00001680| 6e 64 20 69 66 0d 65 6c | 73 65 0d 69 66 20 79 20 |nd if.el|se.if y |
|00001690| ad 20 22 22 20 74 68 65 | 6e 0d 70 75 74 20 22 50 |. "" the|n.put "P|
|000016a0| 6c 65 61 73 65 20 66 69 | 6e 64 22 20 26 26 20 22 |lease fi|nd" && "|
|000016b0| d2 22 20 26 20 79 20 26 | 20 22 d3 22 0d 65 6c 73 |." & y &| ".".els|
|000016c0| 65 0d 70 75 74 20 22 4e | 6f 20 66 69 6c 65 20 73 |e.put "N|o file s|
|000016d0| 70 65 63 69 66 69 65 64 | 2e 2e 2e 22 0d 65 6e 64 |pecified|...".end|
|000016e0| 20 69 66 0d 63 68 6f 6f | 73 65 20 6c 61 73 73 6f | if.choo|se lasso|
|000016f0| 20 74 6f 6f 6c 0d 64 6f | 4d 65 6e 75 20 22 49 6d | tool.do|Menu "Im|
|00001700| 70 6f 72 74 20 50 61 69 | 6e 74 2e 2e 2e 22 0d 63 |port Pai|nt...".c|
|00001710| 68 6f 6f 73 65 20 6c 61 | 73 73 6f 20 74 6f 6f 6c |hoose la|sso tool|
|00001720| 0d 64 6f 4d 65 6e 75 20 | 22 53 65 6c 65 63 74 22 |.doMenu |"Select"|
|00001730| 0d 65 6e 64 20 69 66 0d | 63 68 6f 6f 73 65 20 6c |.end if.|choose l|
|00001740| 61 73 73 6f 20 74 6f 6f | 6c 0d 64 6f 4d 65 6e 75 |asso too|l.doMenu|
|00001750| 20 22 53 65 6c 65 63 74 | 22 0d 65 6c 73 65 0d 69 | "Select|".else.i|
|00001760| 66 20 73 61 66 65 74 79 | 20 ad 20 22 21 22 20 74 |f safety| . "!" t|
|00001770| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 61 6e d5 |hen.answ|er "Can.|
|00001780| 74 20 69 6e 73 74 61 6c | 6c 20 61 72 74 20 6f 6e |t instal|l art on|
|00001790| 20 74 68 69 73 20 63 61 | 72 64 21 22 0d 65 6e 64 | this ca|rd!".end|
|000017a0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 67 | if.end |if.end g|
|000017b0| 65 74 61 72 74 0d 0d 6f | 6e 20 65 78 70 6f 72 74 |etart..o|n export|
|000017c0| 41 72 74 20 74 79 70 65 | 0d 69 66 20 74 79 70 65 |Art type|.if type|
|000017d0| 20 3d 20 22 73 74 61 63 | 6b 22 20 74 68 65 6e 0d | = "stac|k" then.|
|000017e0| 70 75 73 68 20 63 64 0d | 70 75 74 20 62 67 6c 69 |push cd.|put bgli|
|000017f0| 73 74 28 29 20 69 6e 74 | 6f 20 62 6c 69 73 74 0d |st() int|o blist.|
|00001800| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00001810| 33 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |3 to (th|e number|
|00001820| 20 6f 66 20 63 64 73 20 | 2d 20 31 29 0d 67 6f 20 | of cds |- 1).go |
|00001830| 63 64 20 69 0d 69 66 20 | 62 6c 69 73 74 20 63 6f |cd i.if |blist co|
|00001840| 6e 74 61 69 6e 73 20 74 | 68 65 20 73 68 6f 72 74 |ntains t|he short|
|00001850| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 62 67 | name of| this bg|
|00001860| 20 74 68 65 6e 20 64 6f | 61 72 74 65 78 70 0d 65 | then do|artexp.e|
|00001870| 6e 64 20 72 65 70 65 61 | 74 0d 70 6f 70 20 63 64 |nd repea|t.pop cd|
|00001880| 0d 65 6c 73 65 0d 64 6f | 61 72 74 65 78 70 0d 65 |.else.do|artexp.e|
|00001890| 6e 64 20 69 66 0d 65 6e | 64 20 65 78 70 6f 72 74 |nd if.en|d export|
|000018a0| 41 72 74 0d 0d 6f 6e 20 | 64 6f 61 72 74 65 78 70 |Art..on |doartexp|
|000018b0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 77 70 69 63 |.put the| showpic|
|000018c0| 74 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |t of thi|s cd int|
|000018d0| 6f 20 63 73 70 0d 73 65 | 74 20 74 68 65 20 73 68 |o csp.se|t the sh|
|000018e0| 6f 77 50 49 43 54 20 6f | 66 20 74 68 69 73 20 63 |owPICT o|f this c|
|000018f0| 64 20 74 6f 20 74 72 75 | 65 0d 70 75 74 20 67 65 |d to tru|e.put ge|
|00001900| 74 61 72 74 66 69 6c 65 | 28 29 20 69 6e 74 6f 20 |tartfile|() into |
|00001910| 79 0d 72 65 70 65 61 74 | 20 66 6f 72 65 76 65 72 |y.repeat| forever|
|00001920| 0d 69 66 20 79 20 ad 20 | 22 22 20 74 68 65 6e 0d |.if y . |"" then.|
|00001930| 63 68 6f 6f 73 65 20 6c | 61 73 73 6f 20 74 6f 6f |choose l|asso too|
|00001940| 6c 0d 64 6f 4d 65 6e 75 | 20 22 53 65 6c 65 63 74 |l.doMenu| "Select|
|00001950| 22 0d 69 66 20 74 68 65 | 20 74 6f 6f 6c 20 3d 20 |".if the| tool = |
|00001960| 22 4c 61 73 73 6f 20 54 | 6f 6f 6c 22 20 74 68 65 |"Lasso T|ool" the|
|00001970| 6e 0d 64 6f 4d 65 6e 75 | 20 22 43 6f 70 79 20 50 |n.doMenu| "Copy P|
|00001980| 69 63 74 75 72 65 22 0d | 63 6c 69 70 74 6f 50 49 |icture".|cliptoPI|
|00001990| 43 54 66 69 6c 65 20 79 | 0d 69 66 20 77 6f 72 64 |CTfile y|.if word|
|000019a0| 20 31 20 6f 66 20 74 68 | 65 20 72 65 73 75 6c 74 | 1 of th|e result|
|000019b0| 20 3d 20 22 45 72 72 6f | 72 22 20 74 68 65 6e 0d | = "Erro|r" then.|
|000019c0| 61 6e 73 77 65 72 20 74 | 68 65 20 72 65 73 75 6c |answer t|he resul|
|000019d0| 74 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 79 0d |t.put ""| into y.|
|000019e0| 65 6c 73 65 0d 65 78 69 | 74 20 72 65 70 65 61 74 |else.exi|t repeat|
|000019f0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 65 78 69 |.end if.|else.exi|
|00001a00| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00001a10| 65 6e 64 20 69 66 0d 70 | 75 74 20 74 68 65 20 73 |end if.p|ut the s|
|00001a20| 68 6f 72 74 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |hort num|ber of t|
|00001a30| 68 69 73 20 63 64 20 2b | 20 31 33 20 69 6e 74 6f |his cd +| 13 into|
|00001a40| 20 62 62 62 0d 72 65 70 | 65 61 74 20 77 68 69 6c | bbb.rep|eat whil|
|00001a50| 65 20 6c 65 6e 67 74 68 | 28 62 62 62 29 20 3c 20 |e length|(bbb) < |
|00001a60| 33 0d 70 75 74 20 22 30 | 22 20 62 65 66 6f 72 65 |3.put "0|" before|
|00001a70| 20 62 62 62 0d 65 6e 64 | 20 72 65 70 65 61 74 0d | bbb.end| repeat.|
|00001a80| 70 75 74 20 22 42 22 20 | 62 65 66 6f 72 65 20 62 |put "B" |before b|
|00001a90| 62 62 0d 61 73 6b 20 22 | 50 6c 65 61 73 65 20 6e |bb.ask "|Please n|
|00001aa0| 61 6d 65 20 74 68 65 20 | 61 72 74 20 66 69 6c 65 |ame the |art file|
|00001ab0| 3a 22 20 77 69 74 68 20 | 62 62 62 20 26 26 20 74 |:" with |bbb && t|
|00001ac0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 c2 0d 6f |he short| name..o|
|00001ad0| 66 20 74 68 69 73 20 63 | 64 0d 69 66 20 69 74 20 |f this c|d.if it |
|00001ae0| ad 20 22 22 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |. "" the|n.put it|
|00001af0| 20 69 6e 74 6f 20 79 0d | 65 6c 73 65 0d 65 78 69 | into y.|else.exi|
|00001b00| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00001b10| 65 6e 64 20 72 65 70 65 | 61 74 0d 67 65 74 20 62 |end repe|at.get b|
|00001b20| 67 6c 69 73 74 28 29 0d | 69 66 20 69 74 20 63 6f |glist().|if it co|
|00001b30| 6e 74 61 69 6e 73 20 74 | 68 65 20 73 68 6f 72 74 |ntains t|he short|
|00001b40| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 62 67 | name of| this bg|
|00001b50| 20 61 6e 64 20 79 20 ad | 20 22 22 20 74 68 65 6e | and y .| "" then|
|00001b60| 0d 70 75 74 20 79 20 69 | 6e 74 6f 20 66 6c 64 20 |.put y i|nto fld |
|00001b70| 22 61 72 74 46 69 6c 65 | 22 0d 65 6e 64 20 69 66 |"artFile|".end if|
|00001b80| 0d 63 68 6f 6f 73 65 20 | 74 6f 6f 6c 20 31 0d 73 |.choose |tool 1.s|
|00001b90| 65 74 20 74 68 65 20 73 | 68 6f 77 70 69 63 74 20 |et the s|howpict |
|00001ba0| 6f 66 20 74 68 69 73 20 | 63 64 20 74 6f 20 63 73 |of this |cd to cs|
|00001bb0| 70 0d 65 6e 64 20 64 6f | 61 72 74 65 78 70 0d 0d |p.end do|artexp..|
|00001bc0| 6f 6e 20 73 68 6f 77 63 | 6f 6e 74 20 78 0d 6e 6f |on showc|ont x.no|
|00001bd0| 74 64 6f 6e 65 0d 65 78 | 69 74 20 73 68 6f 77 63 |tdone.ex|it showc|
|00001be0| 6f 6e 74 0d 2d 2d 74 68 | 69 73 20 63 6f 6d 6d 61 |ont.--th|is comma|
|00001bf0| 6e 64 20 77 69 6c 6c 20 | 68 69 64 65 20 61 6c 6c |nd will |hide all|
|00001c00| 20 6f 66 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 | of the |control |
|00001c10| 62 75 74 74 6f 6e 73 20 | 61 6e 64 20 66 69 65 6c |buttons |and fiel|
|00001c20| 64 73 0d 2d 2d 69 6e 20 | 74 68 65 20 73 74 61 63 |ds.--in |the stac|
|00001c30| 6b 2e 20 20 49 74 20 77 | 69 6c 6c 20 73 65 74 20 |k. It w|ill set |
|00001c40| 61 6c 6c 20 63 61 72 64 | 73 20 74 6f 20 73 68 6f |all card|s to sho|
|00001c50| 77 20 61 72 74 2e 0d 72 | 65 70 65 61 74 20 77 69 |w art..r|epeat wi|
|00001c60| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th i = 1| to the |
|00001c70| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 0d 67 6f 20 |number o|f bg.go |
|00001c80| 62 67 20 69 0d 69 66 20 | 78 20 3d 20 22 66 61 6c |bg i.if |x = "fal|
|00001c90| 73 65 22 20 74 68 65 6e | 0d 73 65 6e 64 20 6d 6f |se" then|.send mo|
|00001ca0| 75 73 65 75 70 20 74 6f | 20 62 67 20 62 74 6e 20 |useup to| bg btn |
|00001cb0| 22 53 68 6f 77 20 61 72 | 74 22 0d 65 6e 64 20 69 |"Show ar|t".end i|
|00001cc0| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00001cd0| 20 73 68 6f 77 63 6f 6e | 74 0d 0d 6f 6e 20 63 6f | showcon|t..on co|
|00001ce0| 6e 74 69 6e 75 65 20 78 | 0d 61 73 6b 20 22 41 64 |ntinue x|.ask "Ad|
|00001cf0| 64 20 68 6f 77 20 6d 61 | 6e 79 20 63 61 72 64 73 |d how ma|ny cards|
|00001d00| 20 74 6f 20 74 68 69 73 | 20 74 6f 70 69 63 3f 22 | to this| topic?"|
|00001d10| 20 77 69 74 68 20 22 31 | 22 0d 69 66 20 69 74 20 | with "1|".if it |
|00001d20| 3e 20 30 20 61 6e 64 20 | 69 74 20 3c 20 33 30 20 |> 0 and |it < 30 |
|00001d30| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00001d40| 20 72 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 72 | r.lock |screen.r|
|00001d50| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00001d60| 20 74 6f 20 72 0d 73 65 | 74 20 63 75 72 73 6f 72 | to r.se|t cursor|
|00001d70| 20 74 6f 20 62 75 73 79 | 0d 6e 65 77 63 64 20 28 | to busy|.newcd (|
|00001d80| 6c 69 6e 65 20 31 20 6f | 66 20 66 6c 64 20 22 53 |line 1 o|f fld "S|
|00001d90| 65 63 74 69 6f 6e 22 29 | 0d 69 66 20 69 20 3d 20 |ection")|.if i = |
|00001da0| 31 20 74 68 65 6e 20 70 | 75 73 68 20 63 64 0d 65 |1 then p|ush cd.e|
|00001db0| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 72 65 |nd repea|t.put re|
|00001dc0| 70 65 61 74 65 72 28 29 | 20 2b 20 72 20 69 6e 74 |peater()| + r int|
|00001dd0| 6f 20 6e 65 77 6e 75 6d | 0d 69 66 20 6e 65 77 6e |o newnum|.if newn|
|00001de0| 75 6d 20 3d 20 31 20 74 | 68 65 6e 20 70 75 74 20 |um = 1 t|hen put |
|00001df0| 32 20 69 6e 74 6f 20 6e | 65 77 6e 75 6d 0d 70 75 |2 into n|ewnum.pu|
|00001e00| 74 20 28 74 6f 70 70 6f | 73 28 29 2b 72 2d 31 29 |t (toppo|s()+r-1)|
|00001e10| 20 69 6e 74 6f 20 63 75 | 72 6e 75 6d 0d 72 65 70 | into cu|rnum.rep|
|00001e20| 65 61 74 20 63 75 72 6e | 75 6d 0d 73 65 74 20 63 |eat curn|um.set c|
|00001e30| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 67 6f |ursor to| busy.go|
|00001e40| 20 70 72 65 76 0d 65 6e | 64 20 72 65 70 65 61 74 | prev.en|d repeat|
|00001e50| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00001e60| 20 31 20 74 6f 20 6e 65 | 77 6e 75 6d 0d 73 65 74 | 1 to ne|wnum.set|
|00001e70| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00001e80| 70 75 74 20 63 6f 6e 74 | 74 65 78 74 28 69 2c 6e |put cont|text(i,n|
|00001e90| 65 77 6e 75 6d 29 20 69 | 6e 74 6f 20 66 6c 64 20 |ewnum) i|nto fld |
|00001ea0| 22 43 6f 6e 74 69 6e 75 | 65 64 22 0d 67 6f 20 6e |"Continu|ed".go n|
|00001eb0| 65 78 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |ext.end |repeat.p|
|00001ec0| 6f 70 20 63 64 0d 73 65 | 74 20 63 75 72 73 6f 72 |op cd.se|t cursor|
|00001ed0| 20 74 6f 20 31 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | to 1.un|lock scr|
|00001ee0| 65 65 6e 20 77 69 74 68 | 20 73 63 72 6f 6c 6c 20 |een with| scroll |
|00001ef0| 6c 65 66 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |left.end| if.end |
|00001f00| 63 6f 6e 74 69 6e 75 65 | 0d 0d 6f 6e 20 6e 65 77 |continue|..on new|
|00001f10| 63 64 0d 67 6c 6f 62 61 | 6c 20 73 65 63 75 72 69 |cd.globa|l securi|
|00001f20| 74 79 0d 70 75 74 20 22 | 4f 4b 22 20 69 6e 74 6f |ty.put "|OK" into|
|00001f30| 20 73 65 63 75 72 69 74 | 79 0d 64 6f 4d 65 6e 75 | securit|y.doMenu|
|00001f40| 20 22 4e 65 77 20 43 61 | 72 64 22 0d 70 75 74 20 | "New Ca|rd".put |
|00001f50| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00001f60| 69 73 20 63 64 20 69 6e | 74 6f 20 6e 63 6e 0d 70 |is cd in|to ncn.p|
|00001f70| 75 74 20 66 6c 64 20 22 | 43 68 61 70 74 65 72 22 |ut fld "|Chapter"|
|00001f80| 20 6f 66 20 63 64 20 28 | 6e 63 6e 2d 31 29 20 69 | of cd (|ncn-1) i|
|00001f90| 6e 74 6f 20 66 6c 64 20 | 22 43 68 61 70 74 65 72 |nto fld |"Chapter|
|00001fa0| 22 0d 70 75 74 20 66 6c | 64 20 22 53 65 63 74 69 |".put fl|d "Secti|
|00001fb0| 6f 6e 22 20 6f 66 20 63 | 64 20 28 6e 63 6e 2d 31 |on" of c|d (ncn-1|
|00001fc0| 29 20 69 6e 74 6f 20 66 | 6c 64 20 22 53 65 63 74 |) into f|ld "Sect|
|00001fd0| 69 6f 6e 22 0d 73 65 74 | 20 74 68 65 20 6e 61 6d |ion".set| the nam|
|00001fe0| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 74 6f 20 |e of thi|s cd to |
|00001ff0| 67 65 74 63 6e 61 6d 65 | 28 66 6c 64 20 22 53 65 |getcname|(fld "Se|
|00002000| 63 74 69 6f 6e 22 29 0d | 70 75 74 20 66 6c 64 20 |ction").|put fld |
|00002010| 22 43 6f 6e 74 69 6e 75 | 65 64 22 20 6f 66 20 63 |"Continu|ed" of c|
|00002020| 64 20 28 6e 63 6e 2d 31 | 29 20 69 6e 74 6f 20 66 |d (ncn-1|) into f|
|00002030| 6c 64 20 22 43 6f 6e 74 | 69 6e 75 65 64 22 0d 65 |ld "Cont|inued".e|
|00002040| 6e 64 20 6e 65 77 63 64 | 0d 0d 6f 6e 20 64 65 6c |nd newcd|..on del|
|00002050| 63 64 0d 67 6c 6f 62 61 | 6c 20 73 65 63 75 72 69 |cd.globa|l securi|
|00002060| 74 79 0d 69 66 20 28 74 | 6f 70 70 6f 73 28 29 20 |ty.if (t|oppos() |
|00002070| 3d 20 31 29 20 61 6e 64 | 20 28 74 6f 70 70 6f 73 |= 1) and| (toppos|
|00002080| 28 29 20 3d 20 72 65 70 | 65 61 74 65 72 28 29 29 |() = rep|eater())|
|00002090| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|000020a0| 69 73 20 69 73 20 74 68 | 65 20 6f 6e 6c 79 20 63 |is is th|e only c|
|000020b0| 61 72 64 20 69 6e 20 74 | 68 69 73 20 74 6f 70 69 |ard in t|his topi|
|000020c0| 63 2e 22 0d 61 6e 73 77 | 65 72 20 22 59 6f 75 d5 |c.".answ|er "You.|
|000020d0| 6c 6c 20 68 61 76 65 20 | 74 6f 20 64 65 6c 65 74 |ll have |to delet|
|000020e0| 65 20 74 68 65 20 74 6f | 70 69 63 20 66 72 6f 6d |e the to|pic from|
|000020f0| 20 74 68 65 20 54 4f 43 | 2e 22 0d 65 6c 73 65 0d | the TOC|.".else.|
|00002100| 61 6e 73 77 65 72 20 22 | 44 65 6c 65 74 65 20 74 |answer "|Delete t|
|00002110| 68 65 20 63 75 72 72 65 | 6e 74 20 63 61 72 64 3f |he curre|nt card?|
|00002120| 22 20 77 69 74 68 20 22 | 4f 4b 22 20 6f 72 20 22 |" with "|OK" or "|
|00002130| 43 61 6e 63 65 6c 22 0d | 69 66 20 69 74 20 3d 20 |Cancel".|if it = |
|00002140| 22 4f 4b 22 20 74 68 65 | 6e 0d 6c 6f 63 6b 20 73 |"OK" the|n.lock s|
|00002150| 63 72 65 65 6e 0d 70 75 | 74 20 72 65 70 65 61 74 |creen.pu|t repeat|
|00002160| 65 72 28 29 20 69 6e 74 | 6f 20 78 0d 70 75 74 20 |er() int|o x.put |
|00002170| 74 6f 70 70 6f 73 28 29 | 20 69 6e 74 6f 20 79 0d |toppos()| into y.|
|00002180| 69 66 20 66 6c 64 20 22 | 6c 69 6e 6b 73 22 20 ad |if fld "|links" .|
|00002190| 20 22 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 | "" then|.answer |
|000021a0| 22 54 68 69 73 20 63 61 | 72 64 20 68 61 73 20 6c |"This ca|rd has l|
|000021b0| 69 6e 6b 73 d1 64 65 6c | 65 74 65 20 61 6e 79 77 |inks.del|ete anyw|
|000021c0| 61 79 3f 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |ay?" wit|h "OK" o|
|000021d0| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|000021e0| 20 ad 20 22 4f 4b 22 20 | 74 68 65 6e 20 65 78 69 | . "OK" |then exi|
|000021f0| 74 20 64 65 6c 63 64 0d | 72 65 70 65 61 74 20 77 |t delcd.|repeat w|
|00002200| 69 74 68 20 69 20 3d 20 | 28 74 68 65 20 6e 75 6d |ith i = |(the num|
|00002210| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00002220| 66 6c 64 20 22 6c 69 6e | 6b 73 22 29 20 64 6f 77 |fld "lin|ks") dow|
|00002230| 6e 20 74 6f 20 31 0d 64 | 65 6c 4c 69 6e 6b 20 69 |n to 1.d|elLink i|
|00002240| 2c 28 6c 69 6e 65 20 69 | 20 6f 66 20 66 6c 64 20 |,(line i| of fld |
|00002250| 22 6c 69 6e 6b 73 22 29 | 0d 65 6e 64 20 72 65 70 |"links")|.end rep|
|00002260| 65 61 74 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |eat.end |if.put "|
|00002270| 4f 4b 22 20 69 6e 74 6f | 20 73 65 63 75 72 69 74 |OK" into| securit|
|00002280| 79 0d 64 6f 4d 65 6e 75 | 20 22 44 65 6c 65 74 65 |y.doMenu| "Delete|
|00002290| 20 43 61 72 64 22 0d 70 | 75 73 68 20 63 64 0d 72 | Card".p|ush cd.r|
|000022a0| 65 70 65 61 74 20 28 79 | 2d 31 29 0d 67 6f 20 70 |epeat (y|-1).go p|
|000022b0| 72 65 76 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |rev.end |repeat.r|
|000022c0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|000022d0| 20 74 6f 20 28 78 2d 31 | 29 0d 70 75 74 20 63 6f | to (x-1|).put co|
|000022e0| 6e 74 74 65 78 74 28 69 | 2c 28 78 2d 31 29 29 20 |nttext(i|,(x-1)) |
|000022f0| 69 6e 74 6f 20 66 6c 64 | 20 22 43 6f 6e 74 69 6e |into fld| "Contin|
|00002300| 75 65 64 22 0d 67 6f 20 | 6e 65 78 74 0d 65 6e 64 |ued".go |next.end|
|00002310| 20 72 65 70 65 61 74 0d | 70 6f 70 20 63 64 0d 75 | repeat.|pop cd.u|
|00002320| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002330| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 | if.end |if.end d|
|00002340| 65 6c 63 64 0d 0d 6f 6e | 20 63 64 72 65 6f 72 64 |elcd..on| cdreord|
|00002350| 0d 61 6e 73 77 65 72 20 | 22 52 65 6f 72 64 65 72 |.answer |"Reorder|
|00002360| 20 63 61 72 64 73 20 69 | 6e 20 74 68 65 20 63 75 | cards i|n the cu|
|00002370| 72 72 65 6e 74 20 74 6f | 70 69 63 3f 22 20 77 69 |rrent to|pic?" wi|
|00002380| 74 68 20 22 4f 4b 22 20 | 6f 72 20 22 43 61 6e 63 |th "OK" |or "Canc|
|00002390| 65 6c 22 0d 69 66 20 69 | 74 20 69 73 20 22 4f 4b |el".if i|t is "OK|
|000023a0| 22 20 74 68 65 6e 0d 6c | 6f 63 6b 20 73 63 72 65 |" then.l|ock scre|
|000023b0| 65 6e 0d 70 75 73 68 20 | 63 64 0d 70 75 74 20 66 |en.push |cd.put f|
|000023c0| 6c 64 20 22 53 65 63 74 | 69 6f 6e 22 20 69 6e 74 |ld "Sect|ion" int|
|000023d0| 6f 20 63 75 72 74 6f 70 | 0d 72 65 70 65 61 74 20 |o curtop|.repeat |
|000023e0| 74 6f 70 70 6f 73 28 29 | 2d 31 0d 67 6f 20 70 72 |toppos()|-1.go pr|
|000023f0| 65 76 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |ev.end r|epeat.re|
|00002400| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00002410| 74 6f 20 72 65 70 65 61 | 74 65 72 28 29 0d 69 66 |to repea|ter().if|
|00002420| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6c 64 20 22 | line 1 |of fld "|
|00002430| 73 74 61 74 75 73 22 20 | 3e 20 30 20 61 6e 64 20 |status" |> 0 and |
|00002440| 6c 69 6e 65 20 31 20 6f | 66 20 66 6c 64 20 22 73 |line 1 o|f fld "s|
|00002450| 74 61 74 75 73 22 20 3c | 20 39 39 39 20 74 68 65 |tatus" <| 999 the|
|00002460| 6e 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |n.put li|ne 1 of |
|00002470| 66 6c 64 20 22 73 74 61 | 74 75 73 22 20 69 6e 74 |fld "sta|tus" int|
|00002480| 6f 20 79 0d 65 6c 73 65 | 0d 70 75 74 20 31 20 69 |o y.else|.put 1 i|
|00002490| 6e 74 6f 20 79 0d 65 6e | 64 20 69 66 0d 70 75 74 |nto y.en|d if.put|
|000024a0| 20 63 68 61 72 20 31 20 | 74 6f 20 31 35 20 6f 66 | char 1 |to 15 of|
|000024b0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6c 64 20 28 | line 1 |of fld (|
|000024c0| 79 20 2b 20 36 29 20 69 | 6e 74 6f 20 78 0d 70 75 |y + 6) i|nto x.pu|
|000024d0| 74 20 66 6c 64 20 22 43 | 6f 6e 74 69 6e 75 65 64 |t fld "C|ontinued|
|000024e0| 22 20 26 26 20 78 20 26 | 20 22 c9 22 20 69 6e 74 |" && x &| "." int|
|000024f0| 6f 20 6c 69 6e 65 20 69 | 20 6f 66 20 72 6f 6c 69 |o line i| of roli|
|00002500| 73 74 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |st.put t|he short|
|00002510| 20 69 64 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 | id of t|his cd i|
|00002520| 6e 74 6f 20 6c 69 6e 65 | 20 69 20 6f 66 20 69 64 |nto line| i of id|
|00002530| 6c 69 73 74 0d 67 6f 20 | 6e 65 78 74 0d 65 6e 64 |list.go |next.end|
|00002540| 20 72 65 70 65 61 74 0d | 70 75 74 20 74 68 65 20 | repeat.|put the |
|00002550| 73 68 6f 72 74 20 69 64 | 20 6f 66 20 74 68 69 73 |short id| of this|
|00002560| 20 63 64 20 69 6e 74 6f | 20 6d 61 72 6b 65 72 0d | cd into| marker.|
|00002570| 67 6f 20 63 64 20 22 52 | 65 6f 72 64 65 72 20 54 |go cd "R|eorder T|
|00002580| 65 6d 70 6c 61 74 65 22 | 0d 70 75 74 20 72 6f 6c |emplate"|.put rol|
|00002590| 69 73 74 20 69 6e 74 6f | 20 66 6c 64 20 22 72 72 |ist into| fld "rr|
|000025a0| 6c 69 73 74 22 0d 70 75 | 74 20 69 64 6c 69 73 74 |list".pu|t idlist|
|000025b0| 20 69 6e 74 6f 20 66 6c | 64 20 22 72 69 64 6c 69 | into fl|d "ridli|
|000025c0| 73 74 22 0d 70 75 74 20 | 22 52 65 6f 72 64 65 72 |st".put |"Reorder|
|000025d0| 20 63 61 72 64 73 20 77 | 69 74 68 69 6e 22 20 26 | cards w|ithin" &|
|000025e0| 26 20 22 d2 22 20 26 20 | 63 75 72 74 6f 70 20 26 |& "." & |curtop &|
|000025f0| 20 22 d3 22 20 69 6e 74 | 6f 20 66 6c 64 20 72 74 | "." int|o fld rt|
|00002600| 79 70 65 0d 70 75 74 20 | 6d 61 72 6b 65 72 20 69 |ype.put |marker i|
|00002610| 6e 74 6f 20 66 6c 64 20 | 22 72 6d 61 72 6b 65 72 |nto fld |"rmarker|
|00002620| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |".unlock| screen |
|00002630| 77 69 74 68 20 7a 6f 6f | 6d 20 6f 70 65 6e 0d 65 |with zoo|m open.e|
|00002640| 6e 64 20 69 66 0d 65 6e | 64 20 63 64 72 65 6f 72 |nd if.en|d cdreor|
|00002650| 64 0d 0d 6f 6e 20 6c 69 | 6e 6b 46 0d 70 75 74 20 |d..on li|nkF.put |
|00002660| 63 6c 69 63 6b 4c 69 6e | 65 28 29 20 69 6e 74 6f |clickLin|e() into|
|00002670| 20 78 0d 67 65 74 20 6c | 69 6e 65 20 78 20 6f 66 | x.get l|ine x of|
|00002680| 20 66 6c 64 20 22 6c 69 | 6e 6b 73 22 0d 69 66 20 | fld "li|nks".if |
|00002690| 69 74 20 3d 20 22 22 20 | 74 68 65 6e 0d 64 6f 4c |it = "" |then.doL|
|000026a0| 69 6e 6b 0d 65 6c 73 65 | 0d 70 75 74 20 69 74 20 |ink.else|.put it |
|000026b0| 69 6e 74 6f 20 63 75 72 | 6c 69 6e 6b 0d 69 66 20 |into cur|link.if |
|000026c0| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|000026d0| 20 64 6f 77 6e 20 74 68 | 65 6e 0d 69 66 20 74 68 | down th|en.if th|
|000026e0| 65 20 73 68 69 66 74 4b | 65 79 20 69 73 20 64 6f |e shiftK|ey is do|
|000026f0| 77 6e 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |wn then.|answer "|
|00002700| 44 65 6c 65 74 65 20 74 | 68 69 73 20 6c 69 6e 6b |Delete t|his link|
|00002710| 3f 22 20 77 69 74 68 20 | 22 4f 4b 22 20 6f 72 20 |?" with |"OK" or |
|00002720| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 69 74 20 3d |"Cancel"|.if it =|
|00002730| 20 22 4f 4b 22 20 74 68 | 65 6e 0d 6c 6f 63 6b 20 | "OK" th|en.lock |
|00002740| 73 63 72 65 65 6e 0d 64 | 65 6c 4c 69 6e 6b 20 78 |screen.d|elLink x|
|00002750| 2c 63 75 72 6c 69 6e 6b | 0d 75 6e 6c 6f 63 6b 20 |,curlink|.unlock |
|00002760| 73 63 72 65 65 6e 0d 65 | 6e 64 20 69 66 0d 65 6c |screen.e|nd if.el|
|00002770| 73 65 0d 61 6e 73 77 65 | 72 20 22 52 65 61 6c 6c |se.answe|r "Reall|
|00002780| 79 20 65 64 69 74 20 74 | 68 65 20 6c 69 6e 6b 3f |y edit t|he link?|
|00002790| 22 20 77 69 74 68 20 22 | 4f 4b 22 20 6f 72 20 22 |" with "|OK" or "|
|000027a0| 43 61 6e 63 65 6c 22 0d | 69 66 20 69 74 20 3d 20 |Cancel".|if it = |
|000027b0| 22 4f 4b 22 20 74 68 65 | 6e 0d 61 73 6b 20 22 45 |"OK" the|n.ask "E|
|000027c0| 64 69 74 20 74 68 65 20 | 6c 69 6e 6b 20 28 62 65 |dit the |link (be|
|000027d0| 20 63 61 72 65 66 75 6c | 21 29 3a 22 20 77 69 74 | careful|!):" wit|
|000027e0| 68 20 28 6c 69 6e 65 20 | 78 20 6f 66 20 66 6c 64 |h (line |x of fld|
|000027f0| 20 22 6c 69 6e 6b 73 22 | 29 0d 69 66 20 69 74 20 | "links"|).if it |
|00002800| ad 20 22 22 20 74 68 65 | 6e 20 70 75 74 20 69 74 |. "" the|n put it|
|00002810| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 78 20 6f 66 20 | into li|ne x of |
|00002820| 66 6c 64 20 22 6c 69 6e | 6b 73 22 0d 65 6e 64 20 |fld "lin|ks".end |
|00002830| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 67 |if.end i|f.else.g|
|00002840| 6f 20 63 64 20 69 64 20 | 28 69 74 65 6d 20 31 20 |o cd id |(item 1 |
|00002850| 6f 66 20 69 74 29 0d 65 | 6e 64 20 69 66 0d 65 6e |of it).e|nd if.en|
|00002860| 64 20 69 66 0d 65 6e 64 | 20 6c 69 6e 6b 46 0d 0d |d if.end| linkF..|
|00002870| 6f 6e 20 64 6f 4c 69 6e | 6b 0d 67 6c 6f 62 61 6c |on doLin|k.global|
|00002880| 20 6c 69 6e 6b 69 6e 67 | 0d 69 66 20 6c 69 6e 6b | linking|.if link|
|00002890| 69 6e 67 20 ad 20 22 22 | 20 74 68 65 6e 0d 63 6f |ing . ""| then.co|
|000028a0| 6d 70 4c 69 6e 6b 0d 65 | 6c 73 65 0d 69 66 20 74 |mpLink.e|lse.if t|
|000028b0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 74 6e |he numbe|r of btn|
|000028c0| 73 20 3e 20 31 35 20 74 | 68 65 6e 0d 61 6e 73 77 |s > 15 t|hen.answ|
|000028d0| 65 72 20 22 43 72 65 61 | 74 65 20 61 20 6c 69 6e |er "Crea|te a lin|
|000028e0| 6b 20 66 72 6f 6d 20 74 | 68 69 73 3a 22 20 77 69 |k from t|his:" wi|
|000028f0| 74 68 20 22 43 61 72 64 | 22 20 6f 72 20 22 54 65 |th "Card|" or "Te|
|00002900| 78 74 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 0d |xt" or "|Cancel".|
|00002910| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 43 72 65 |else.ans|wer "Cre|
|00002920| 61 74 65 20 61 20 6c 69 | 6e 6b 20 66 72 6f 6d 20 |ate a li|nk from |
|00002930| 74 68 69 73 20 63 61 72 | 64 3f 22 20 77 69 74 68 |this car|d?" with|
|00002940| 20 22 4f 4b 22 20 6f 72 | 20 22 43 61 6e 63 65 6c | "OK" or| "Cancel|
|00002950| 22 0d 65 6e 64 20 69 66 | 0d 69 66 20 69 74 20 3d |".end if|.if it =|
|00002960| 20 22 54 65 78 74 22 20 | 6f 72 20 69 74 20 3d 20 | "Text" |or it = |
|00002970| 22 43 61 72 64 22 20 6f | 72 20 69 74 20 3d 20 22 |"Card" o|r it = "|
|00002980| 4f 4b 22 20 74 68 65 6e | 0d 70 75 74 20 69 74 20 |OK" then|.put it |
|00002990| 69 6e 74 6f 20 73 6f 75 | 72 63 65 0d 70 75 74 20 |into sou|rce.put |
|000029a0| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|000029b0| 74 68 69 73 20 63 64 20 | 69 6e 74 6f 20 6c 69 6e |this cd |into lin|
|000029c0| 6b 69 6e 67 0d 61 6e 73 | 77 65 72 20 22 57 68 61 |king.ans|wer "Wha|
|000029d0| 74 20 6b 69 6e 64 20 6f | 66 20 6c 69 6e 6b 3f 22 |t kind o|f link?"|
|000029e0| 20 77 69 74 68 20 22 4f | 74 68 65 72 22 20 6f 72 | with "O|ther" or|
|000029f0| 20 22 54 6f 70 69 63 22 | 20 6f 72 20 22 44 69 61 | "Topic"| or "Dia|
|00002a00| 6c 6f 67 22 0d 69 66 20 | 69 74 20 3d 20 22 4f 74 |log".if |it = "Ot|
|00002a10| 68 65 72 22 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |her" the|n.put it|
|00002a20| 20 69 6e 74 6f 20 6c 74 | 79 70 65 0d 65 6c 73 65 | into lt|ype.else|
|00002a30| 0d 69 66 20 69 74 20 3d | 20 22 54 6f 70 69 63 22 |.if it =| "Topic"|
|00002a40| 20 74 68 65 6e 0d 70 75 | 74 20 22 74 6f 70 22 20 | then.pu|t "top" |
|00002a50| 69 6e 74 6f 20 6c 74 79 | 70 65 0d 65 6c 73 65 0d |into lty|pe.else.|
|00002a60| 70 75 74 20 22 64 6c 6f | 67 22 20 69 6e 74 6f 20 |put "dlo|g" into |
|00002a70| 6c 74 79 70 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ltype.en|d if.end|
|00002a80| 20 69 66 0d 69 66 20 73 | 6f 75 72 63 65 20 3d 20 | if.if s|ource = |
|00002a90| 22 54 65 78 74 22 20 74 | 68 65 6e 20 70 75 74 20 |"Text" t|hen put |
|00002aa0| 22 2f 22 20 26 20 6c 69 | 6e 65 20 31 20 6f 66 20 |"/" & li|ne 1 of |
|00002ab0| 66 6c 64 20 73 74 61 74 | 75 73 20 61 66 74 65 72 |fld stat|us after|
|00002ac0| 20 6c 74 79 70 65 0d 70 | 75 74 20 6c 74 79 70 65 | ltype.p|ut ltype|
|00002ad0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00002ae0| 6c 69 6e 6b 69 6e 67 0d | 61 73 6b 20 22 45 6e 74 |linking.|ask "Ent|
|00002af0| 65 72 20 74 68 65 20 6c | 69 6e 6b 20 6c 61 62 65 |er the l|ink labe|
|00002b00| 6c 20 28 43 61 6e 63 65 | 6c 20 66 6f 72 20 6e 6f |l (Cance|l for no|
|00002b10| 6e 65 29 3a 22 0d 70 75 | 74 20 71 75 6f 74 65 20 |ne):".pu|t quote |
|00002b20| 26 20 69 74 20 26 20 71 | 75 6f 74 65 20 69 6e 74 |& it & q|uote int|
|00002b30| 6f 20 69 74 65 6d 20 33 | 20 6f 66 20 6c 69 6e 6b |o item 3| of link|
|00002b40| 69 6e 67 0d 61 6e 73 77 | 65 72 20 22 43 72 65 61 |ing.answ|er "Crea|
|00002b50| 74 65 20 6c 69 6e 6b 20 | 62 79 20 6e 61 6d 65 20 |te link |by name |
|00002b60| 6f 72 20 62 79 20 65 78 | 61 6d 70 6c 65 3f 22 20 |or by ex|ample?" |
|00002b70| 77 69 74 68 20 22 4e 61 | 6d 65 22 20 6f 72 20 c2 |with "Na|me" or .|
|00002b80| 0d 22 45 78 61 6d 70 6c | 65 22 0d 69 66 20 69 74 |."Exampl|e".if it|
|00002b90| 20 3d 20 22 4e 61 6d 65 | 22 20 74 68 65 6e 0d 72 | = "Name|" then.r|
|00002ba0| 65 70 65 61 74 20 66 6f | 72 65 76 65 72 0d 61 73 |epeat fo|rever.as|
|00002bb0| 6b 20 22 4c 69 6e 6b 20 | 74 6f 20 77 68 69 63 68 |k "Link |to which|
|00002bc0| 20 63 61 72 64 3f 22 0d | 69 66 20 69 74 20 ad 20 | card?".|if it . |
|00002bd0| 22 22 20 74 68 65 6e 0d | 70 75 74 20 69 74 20 69 |"" then.|put it i|
|00002be0| 6e 74 6f 20 63 6e 61 6d | 65 0d 67 6f 20 63 64 20 |nto cnam|e.go cd |
|00002bf0| 67 65 74 63 6e 61 6d 65 | 28 63 6e 61 6d 65 29 0d |getcname|(cname).|
|00002c00| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |if the s|hort nam|
|00002c10| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 ad 20 67 |e of thi|s cd . g|
|00002c20| 65 74 63 6e 61 6d 65 28 | 63 6e 61 6d 65 29 20 74 |etcname(|cname) t|
|00002c30| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 61 6e d5 |hen.answ|er "Can.|
|00002c40| 74 20 66 69 6e 64 20 61 | 20 63 61 72 64 20 62 79 |t find a| card by|
|00002c50| 20 74 68 61 74 20 6e 61 | 6d 65 21 22 0d 65 6c 73 | that na|me!".els|
|00002c60| 65 0d 63 6f 6d 70 4c 69 | 6e 6b 0d 65 78 69 74 20 |e.compLi|nk.exit |
|00002c70| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6c |repeat.e|nd if.el|
|00002c80| 73 65 0d 61 6e 73 77 65 | 72 20 22 53 68 6f 77 20 |se.answe|r "Show |
|00002c90| 62 79 20 65 78 61 6d 70 | 6c 65 20 69 6e 73 74 65 |by examp|le inste|
|00002ca0| 61 64 3f 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |ad?" wit|h "OK" o|
|00002cb0| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00002cc0| 20 3d 20 22 4f 4b 22 20 | 74 68 65 6e 0d 70 75 74 | = "OK" |then.put|
|00002cd0| 20 22 50 72 65 73 73 20 | 6c 69 6e 6b 20 61 67 61 | "Press |link aga|
|00002ce0| 69 6e 20 77 68 65 6e 20 | 74 68 65 20 64 65 73 74 |in when |the dest|
|00002cf0| 69 6e 61 74 69 6f 6e 20 | 63 61 72 64 20 69 73 20 |ination |card is |
|00002d00| 76 69 73 69 62 6c 65 2e | 2e 2e 22 0d 65 78 69 74 |visible.|..".exit|
|00002d10| 20 72 65 70 65 61 74 0d | 65 6c 73 65 0d 70 75 74 | repeat.|else.put|
|00002d20| 20 22 22 20 69 6e 74 6f | 20 6c 69 6e 6b 69 6e 67 | "" into| linking|
|00002d30| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00002d40| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 | if.end |if.end r|
|00002d50| 65 70 65 61 74 0d 65 6c | 73 65 0d 70 75 74 20 22 |epeat.el|se.put "|
|00002d60| 50 72 65 73 73 20 6c 69 | 6e 6b 20 61 67 61 69 6e |Press li|nk again|
|00002d70| 20 77 68 65 6e 20 74 68 | 65 20 64 65 73 74 69 6e | when th|e destin|
|00002d80| 61 74 69 6f 6e 20 63 61 | 72 64 20 69 73 20 76 69 |ation ca|rd is vi|
|00002d90| 73 69 62 6c 65 2e 2e 2e | 22 0d 65 6e 64 20 69 66 |sible...|".end if|
|00002da0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00002db0| 6e 64 20 64 6f 4c 69 6e | 6b 0d 0d 6f 6e 20 63 6f |nd doLin|k..on co|
|00002dc0| 6d 70 4c 69 6e 6b 0d 67 | 6c 6f 62 61 6c 20 6c 69 |mpLink.g|lobal li|
|00002dd0| 6e 6b 69 6e 67 0d 69 66 | 20 6c 69 6e 6b 69 6e 67 |nking.if| linking|
|00002de0| 20 3d 20 22 22 20 74 68 | 65 6e 20 65 78 69 74 20 | = "" th|en exit |
|00002df0| 63 6f 6d 70 4c 69 6e 6b | 0d 61 6e 73 77 65 72 20 |compLink|.answer |
|00002e00| 22 4c 69 6e 6b 20 66 72 | 6f 6d 20 63 64 20 69 64 |"Link fr|om cd id|
|00002e10| 22 20 26 26 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |" && ite|m 1 of l|
|00002e20| 69 6e 6b 69 6e 67 20 26 | 26 20 22 74 6f 20 74 68 |inking &|& "to th|
|00002e30| 69 73 20 63 61 72 64 3f | 22 20 77 69 74 68 c2 0d |is card?|" with..|
|00002e40| 22 59 65 73 22 20 6f 72 | c2 0d 22 4e 6f 22 20 6f |"Yes" or|.."No" o|
|00002e50| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00002e60| 20 3d 20 22 4e 6f 22 20 | 74 68 65 6e 20 65 78 69 | = "No" |then exi|
|00002e70| 74 20 63 6f 6d 70 4c 69 | 6e 6b 0d 69 66 20 69 74 |t compLi|nk.if it|
|00002e80| 20 3d 20 22 59 65 73 22 | 20 74 68 65 6e 0d 70 75 | = "Yes"| then.pu|
|00002e90| 74 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |t the sh|ort id o|
|00002ea0| 66 20 74 68 69 73 20 63 | 64 20 69 6e 74 6f 20 6e |f this c|d into n|
|00002eb0| 63 61 72 64 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |card.put| item 1 |
|00002ec0| 6f 66 20 6c 69 6e 6b 69 | 6e 67 20 26 20 72 65 74 |of linki|ng & ret|
|00002ed0| 75 72 6e 20 61 66 74 65 | 72 20 66 6c 64 20 22 6c |urn afte|r fld "l|
|00002ee0| 69 6e 6b 73 22 0d 67 6f | 20 63 64 20 69 64 20 28 |inks".go| cd id (|
|00002ef0| 69 74 65 6d 20 31 20 6f | 66 20 6c 69 6e 6b 69 6e |item 1 o|f linkin|
|00002f00| 67 29 0d 70 75 74 20 6e | 63 61 72 64 20 26 20 20 |g).put n|card & |
|00002f10| 22 2c 22 20 26 20 28 69 | 74 65 6d 20 32 20 74 6f |"," & (i|tem 2 to|
|00002f20| 20 33 20 6f 66 20 6c 69 | 6e 6b 69 6e 67 29 20 26 | 3 of li|nking) &|
|00002f30| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 c2 0d 66 | return |after..f|
|00002f40| 6c 64 20 22 6c 69 6e 6b | 73 22 0d 61 6e 73 77 65 |ld "link|s".answe|
|00002f50| 72 20 22 4c 69 6e 6b 20 | 77 61 73 20 73 75 63 63 |r "Link |was succ|
|00002f60| 65 73 73 66 75 6c 21 22 | 0d 65 6e 64 20 69 66 0d |essful!"|.end if.|
|00002f70| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 6c 69 6e 6b |put "" i|nto link|
|00002f80| 69 6e 67 0d 68 69 64 65 | 20 6d 73 67 0d 65 6e 64 |ing.hide| msg.end|
|00002f90| 20 63 6f 6d 70 4c 69 6e | 6b 0d 0d 6f 6e 20 64 65 | compLin|k..on de|
|00002fa0| 6c 4c 69 6e 6b 20 78 2c | 63 75 72 6c 69 6e 6b 0d |lLink x,|curlink.|
|00002fb0| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 78 20 6f 66 |delete l|ine x of|
|00002fc0| 20 66 6c 64 20 22 6c 69 | 6e 6b 73 22 0d 70 75 74 | fld "li|nks".put|
|00002fd0| 20 74 68 65 20 73 68 6f | 72 74 20 69 64 20 6f 66 | the sho|rt id of|
|00002fe0| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 63 75 | this cd| into cu|
|00002ff0| 72 69 64 0d 67 6f 20 63 | 64 20 69 64 20 28 69 74 |rid.go c|d id (it|
|00003000| 65 6d 20 31 20 6f 66 20 | 63 75 72 6c 69 6e 6b 29 |em 1 of |curlink)|
|00003010| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 69 64 |.if the |short id|
|00003020| 20 6f 66 20 74 68 69 73 | 20 63 64 20 3d 20 28 69 | of this| cd = (i|
|00003030| 74 65 6d 20 31 20 6f 66 | 20 63 75 72 6c 69 6e 6b |tem 1 of| curlink|
|00003040| 29 20 74 68 65 6e 0d 70 | 75 74 20 6f 66 66 73 65 |) then.p|ut offse|
|00003050| 74 28 63 75 72 69 64 2c | 66 6c 64 20 22 6c 69 6e |t(curid,|fld "lin|
|00003060| 6b 73 22 29 20 69 6e 74 | 6f 20 70 0d 69 66 20 70 |ks") int|o p.if p|
|00003070| 20 3e 20 30 20 74 68 65 | 6e 0d 64 65 6c 65 74 65 | > 0 the|n.delete|
|00003080| 20 6c 69 6e 65 20 28 74 | 68 65 20 6e 75 6d 62 65 | line (t|he numbe|
|00003090| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 63 68 |r of lin|es of ch|
|000030a0| 61 72 20 31 20 74 6f 20 | 28 70 29 c2 0d 6f 66 20 |ar 1 to |(p)..of |
|000030b0| 66 6c 64 20 22 6c 69 6e | 6b 73 22 29 20 6f 66 20 |fld "lin|ks") of |
|000030c0| 66 6c 64 20 22 6c 69 6e | 6b 73 22 0d 65 6e 64 20 |fld "lin|ks".end |
|000030d0| 69 66 0d 65 6e 64 20 69 | 66 0d 67 6f 20 63 64 20 |if.end i|f.go cd |
|000030e0| 69 64 20 28 63 75 72 69 | 64 29 0d 65 6e 64 20 64 |id (curi|d).end d|
|000030f0| 65 6c 4c 69 6e 6b 0d 0d | 6f 6e 20 63 6f 6e 76 65 |elLink..|on conve|
|00003100| 72 74 20 78 2c 79 0d 67 | 6c 6f 62 61 6c 20 73 65 |rt x,y.g|lobal se|
|00003110| 63 75 72 69 74 79 0d 70 | 75 74 20 74 68 65 20 73 |curity.p|ut the s|
|00003120| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this |
|00003130| 63 64 20 69 6e 74 6f 20 | 6f 72 69 67 0d 73 65 74 |cd into |orig.set|
|00003140| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00003150| 67 6f 20 62 67 20 28 78 | 29 0d 70 75 74 20 22 4f |go bg (x|).put "O|
|00003160| 4b 22 20 69 6e 74 6f 20 | 73 65 63 75 72 69 74 79 |K" into |security|
|00003170| 0d 64 6f 4d 65 6e 75 20 | 22 4e 65 77 20 43 61 72 |.doMenu |"New Car|
|00003180| 64 22 0d 70 75 74 20 22 | 4f 4b 22 20 69 6e 74 6f |d".put "|OK" into|
|00003190| 20 73 65 63 75 72 69 74 | 79 0d 64 6f 4d 65 6e 75 | securit|y.doMenu|
|000031a0| 20 22 43 75 74 20 43 61 | 72 64 22 0d 67 6f 20 63 | "Cut Ca|rd".go c|
|000031b0| 64 20 69 64 20 28 6f 72 | 69 67 29 0d 70 75 74 20 |d id (or|ig).put |
|000031c0| 22 4f 4b 22 20 69 6e 74 | 6f 20 73 65 63 75 72 69 |"OK" int|o securi|
|000031d0| 74 79 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |ty.doMen|u "Paste|
|000031e0| 20 43 61 72 64 22 0d 67 | 6f 20 70 72 65 76 0d 73 | Card".g|o prev.s|
|000031f0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00003200| 79 0d 69 66 20 79 20 3d | 20 22 32 74 6f 31 22 20 |y.if y =| "2to1" |
|00003210| 74 68 65 6e 0d 63 6f 6e | 76 32 74 6f 31 0d 65 6c |then.con|v2to1.el|
|00003220| 73 65 0d 69 66 20 79 20 | 3d 20 22 31 74 6f 32 22 |se.if y |= "1to2"|
|00003230| 20 74 68 65 6e 0d 70 75 | 74 20 36 37 20 69 6e 74 | then.pu|t 67 int|
|00003240| 6f 20 7a 0d 65 6c 73 65 | 0d 70 75 74 20 74 68 65 |o z.else|.put the|
|00003250| 20 6e 75 6d 62 65 72 20 | 6f 66 20 66 6c 64 73 20 | number |of flds |
|00003260| 69 6e 74 6f 20 7a 0d 65 | 6e 64 20 69 66 0d 72 65 |into z.e|nd if.re|
|00003270| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003280| 74 6f 20 7a 0d 69 66 20 | 66 6c 64 20 69 20 ad 20 |to z.if |fld i . |
|00003290| 22 22 20 74 68 65 6e 0d | 73 65 74 20 63 75 72 73 |"" then.|set curs|
|000032a0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 66 |or to bu|sy.put f|
|000032b0| 6c 64 20 69 20 69 6e 74 | 6f 20 74 65 6d 70 0d 67 |ld i int|o temp.g|
|000032c0| 6f 20 6e 65 78 74 0d 70 | 75 74 20 74 65 6d 70 20 |o next.p|ut temp |
|000032d0| 69 6e 74 6f 20 66 6c 64 | 20 69 0d 67 6f 20 70 72 |into fld| i.go pr|
|000032e0| 65 76 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |ev.end i|f.end re|
|000032f0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 67 6f 20 63 |peat.end| if.go c|
|00003300| 64 20 69 64 20 28 6f 72 | 69 67 29 0d 69 66 20 66 |d id (or|ig).if f|
|00003310| 6c 64 20 22 6c 69 6e 6b | 73 22 20 ad 20 22 22 20 |ld "link|s" . "" |
|00003320| 74 68 65 6e 0d 63 6f 6e | 76 4c 69 6e 6b 73 20 6f |then.con|vLinks o|
|00003330| 72 69 67 0d 65 6e 64 20 | 69 66 0d 69 66 20 28 74 |rig.end |if.if (t|
|00003340| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 74 6e |he numbe|r of btn|
|00003350| 73 29 20 3e 20 30 20 74 | 68 65 6e 0d 72 65 70 65 |s) > 0 t|hen.repe|
|00003360| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00003370| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00003380| 62 74 6e 73 29 0d 73 65 | 74 20 63 75 72 73 6f 72 |btns).se|t cursor|
|00003390| 20 74 6f 20 62 75 73 79 | 0d 73 65 6c 65 63 74 20 | to busy|.select |
|000033a0| 62 74 6e 20 69 0d 64 6f | 4d 65 6e 75 20 22 43 6f |btn i.do|Menu "Co|
|000033b0| 70 79 20 42 75 74 74 6f | 6e 22 0d 67 6f 20 6e 65 |py Butto|n".go ne|
|000033c0| 78 74 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |xt.doMen|u "Paste|
|000033d0| 20 42 75 74 74 6f 6e 22 | 0d 67 6f 20 70 72 65 76 | Button"|.go prev|
|000033e0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000033f0| 69 66 0d 63 68 6f 6f 73 | 65 20 6c 61 73 73 6f 20 |if.choos|e lasso |
|00003400| 74 6f 6f 6c 0d 64 6f 4d | 65 6e 75 20 22 53 65 6c |tool.doM|enu "Sel|
|00003410| 65 63 74 22 0d 69 66 20 | 74 68 65 20 74 6f 6f 6c |ect".if |the tool|
|00003420| 20 3d 20 22 6c 61 73 73 | 6f 20 74 6f 6f 6c 22 20 | = "lass|o tool" |
|00003430| 74 68 65 6e 0d 64 6f 4d | 65 6e 75 20 22 43 6f 70 |then.doM|enu "Cop|
|00003440| 79 20 50 69 63 74 75 72 | 65 22 0d 67 6f 20 6e 65 |y Pictur|e".go ne|
|00003450| 78 74 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |xt.doMen|u "Paste|
|00003460| 20 50 69 63 74 75 72 65 | 22 0d 67 6f 20 70 72 65 | Picture|".go pre|
|00003470| 76 0d 65 6e 64 20 69 66 | 0d 63 68 6f 6f 73 65 20 |v.end if|.choose |
|00003480| 74 6f 6f 6c 20 31 0d 70 | 75 74 20 74 68 65 20 73 |tool 1.p|ut the s|
|00003490| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000034a0| 73 20 63 64 20 69 6e 74 | 6f 20 6e 65 77 6e 0d 70 |s cd int|o newn.p|
|000034b0| 75 74 20 22 4f 4b 22 20 | 69 6e 74 6f 20 73 65 63 |ut "OK" |into sec|
|000034c0| 75 72 69 74 79 0d 64 6f | 4d 65 6e 75 20 22 43 75 |urity.do|Menu "Cu|
|000034d0| 74 20 43 61 72 64 22 0d | 73 65 74 20 74 68 65 20 |t Card".|set the |
|000034e0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|000034f0| 74 6f 20 6e 65 77 6e 0d | 73 65 74 20 63 75 72 73 |to newn.|set curs|
|00003500| 6f 72 20 74 6f 20 31 0d | 65 6e 64 20 63 6f 6e 76 |or to 1.|end conv|
|00003510| 65 72 74 0d 0d 6f 6e 20 | 63 6f 6e 76 32 74 6f 31 |ert..on |conv2to1|
|00003520| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00003530| 20 31 20 74 6f 20 36 37 | 0d 69 66 20 66 6c 64 20 | 1 to 67|.if fld |
|00003540| 69 20 ad 20 22 22 20 74 | 68 65 6e 0d 73 65 74 20 |i . "" t|hen.set |
|00003550| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00003560| 75 74 20 66 6c 64 20 69 | 20 69 6e 74 6f 20 74 65 |ut fld i| into te|
|00003570| 6d 70 0d 67 6f 20 6e 65 | 78 74 0d 70 75 74 20 74 |mp.go ne|xt.put t|
|00003580| 65 6d 70 20 69 6e 74 6f | 20 66 6c 64 20 69 0d 67 |emp into| fld i.g|
|00003590| 6f 20 70 72 65 76 0d 65 | 6e 64 20 69 66 0d 65 6e |o prev.e|nd if.en|
|000035a0| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat |
|000035b0| 77 69 74 68 20 69 20 3d | 20 36 38 20 74 6f 20 38 |with i =| 68 to 8|
|000035c0| 33 0d 69 66 20 66 6c 64 | 20 69 20 ad 20 22 22 20 |3.if fld| i . "" |
|000035d0| 74 68 65 6e 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |then.set| cursor |
|000035e0| 74 6f 20 62 75 73 79 0d | 70 75 74 20 66 6c 64 20 |to busy.|put fld |
|000035f0| 69 20 69 6e 74 6f 20 74 | 65 6d 70 0d 67 6f 20 6e |i into t|emp.go n|
|00003600| 65 78 74 0d 70 75 74 20 | 74 65 6d 70 20 61 66 74 |ext.put |temp aft|
|00003610| 65 72 20 66 6c 64 20 28 | 69 20 2d 20 36 31 29 0d |er fld (|i - 61).|
|00003620| 67 6f 20 70 72 65 76 0d | 65 6e 64 20 69 66 0d 65 |go prev.|end if.e|
|00003630| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 70 65 61 74 |nd repea|t.repeat|
|00003640| 20 77 69 74 68 20 69 20 | 3d 20 38 34 20 74 6f 20 | with i |= 84 to |
|00003650| 39 39 0d 69 66 20 66 6c | 64 20 69 20 ad 20 22 22 |99.if fl|d i . ""|
|00003660| 20 74 68 65 6e 0d 73 65 | 74 20 63 75 72 73 6f 72 | then.se|t cursor|
|00003670| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 66 6c 64 | to busy|.put fld|
|00003680| 20 69 20 69 6e 74 6f 20 | 74 65 6d 70 0d 67 6f 20 | i into |temp.go |
|00003690| 6e 65 78 74 0d 70 75 74 | 20 74 65 6d 70 20 61 66 |next.put| temp af|
|000036a0| 74 65 72 20 66 6c 64 20 | 28 69 20 2d 20 33 32 29 |ter fld |(i - 32)|
|000036b0| 0d 67 6f 20 70 72 65 76 | 0d 65 6e 64 20 69 66 0d |.go prev|.end if.|
|000036c0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 63 |end repe|at.end c|
|000036d0| 6f 6e 76 32 74 6f 31 0d | 0d 6f 6e 20 63 6f 6e 76 |onv2to1.|.on conv|
|000036e0| 4c 69 6e 6b 73 20 6f 72 | 69 67 0d 67 65 74 20 66 |Links or|ig.get f|
|000036f0| 6c 64 20 22 6c 69 6e 6b | 73 22 0d 67 6f 20 6e 65 |ld "link|s".go ne|
|00003700| 78 74 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 66 |xt.put i|t into f|
|00003710| 6c 64 20 22 6c 69 6e 6b | 73 22 0d 70 75 74 20 74 |ld "link|s".put t|
|00003720| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 74 |he short| id of t|
|00003730| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 6e 65 77 69 |his cd i|nto newi|
|00003740| 64 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |d.repeat| with i |
|00003750| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00003760| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 66 6c |r of lin|es of fl|
|00003770| 64 20 22 6c 69 6e 6b 73 | 22 0d 67 6f 20 63 64 20 |d "links|".go cd |
|00003780| 69 64 20 28 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |id (item| 1 of li|
|00003790| 6e 65 20 69 20 6f 66 20 | 66 6c 64 20 22 6c 69 6e |ne i of |fld "lin|
|000037a0| 6b 73 22 29 0d 70 75 74 | 20 6f 66 66 73 65 74 28 |ks").put| offset(|
|000037b0| 6f 72 69 67 2c 66 6c 64 | 20 22 6c 69 6e 6b 73 22 |orig,fld| "links"|
|000037c0| 29 20 69 6e 74 6f 20 6f | 66 66 73 0d 70 75 74 20 |) into o|ffs.put |
|000037d0| 6e 65 77 69 64 20 69 6e | 74 6f 20 63 68 61 72 20 |newid in|to char |
|000037e0| 28 6f 66 66 73 29 20 74 | 6f 20 28 6c 65 6e 67 74 |(offs) t|o (lengt|
|000037f0| 68 28 6f 72 69 67 29 20 | 2b 20 28 6f 66 66 73 29 |h(orig) |+ (offs)|
|00003800| 20 2d 20 31 29 20 6f 66 | c2 0d 66 6c 64 20 22 6c | - 1) of|..fld "l|
|00003810| 69 6e 6b 73 22 0d 67 6f | 20 63 64 20 69 64 20 28 |inks".go| cd id (|
|00003820| 6e 65 77 69 64 29 0d 65 | 6e 64 20 72 65 70 65 61 |newid).e|nd repea|
|00003830| 74 0d 67 6f 20 63 64 20 | 69 64 20 28 6f 72 69 67 |t.go cd |id (orig|
|00003840| 29 0d 65 6e 64 20 63 6f | 6e 76 4c 69 6e 6b 73 0d |).end co|nvLinks.|
|00003850| 0d 6f 6e 20 74 72 65 6e | 61 6d 65 20 6f 62 6a 2c |.on tren|ame obj,|
|00003860| 6f 6c 64 6e 0d 61 73 6b | 20 22 50 6c 65 61 73 65 |oldn.ask| "Please|
|00003870| 20 72 65 6e 61 6d 65 20 | 74 68 65 20 63 68 61 70 | rename |the chap|
|00003880| 74 65 72 3a 22 20 77 69 | 74 68 20 6f 6c 64 6e 0d |ter:" wi|th oldn.|
|00003890| 69 66 20 69 74 20 ad 20 | 65 6d 70 74 79 20 74 68 |if it . |empty th|
|000038a0| 65 6e 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 70 |en.lock |screen.p|
|000038b0| 75 74 20 69 74 20 69 6e | 74 6f 20 6e 65 77 6e 0d |ut it in|to newn.|
|000038c0| 69 66 20 77 6f 72 64 20 | 31 20 6f 66 20 6f 62 6a |if word |1 of obj|
|000038d0| 20 3d 20 22 66 6c 64 22 | 20 74 68 65 6e 0d 70 75 | = "fld"| then.pu|
|000038e0| 73 68 20 63 64 0d 67 6f | 20 63 64 20 22 43 6f 6e |sh cd.go| cd "Con|
|000038f0| 74 65 6e 74 73 20 54 65 | 6d 70 6c 61 74 65 22 0d |tents Te|mplate".|
|00003900| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00003910| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00003920| 6f 66 20 62 74 6e 73 0d | 69 66 20 74 68 65 20 73 |of btns.|if the s|
|00003930| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 62 74 6e |hort nam|e of btn|
|00003940| 20 69 20 3d 20 28 6f 6c | 64 6e 29 20 74 68 65 6e | i = (ol|dn) then|
|00003950| 0d 70 75 74 20 22 62 74 | 6e 20 69 64 22 20 26 26 |.put "bt|n id" &&|
|00003960| 20 28 74 68 65 20 69 64 | 20 6f 66 20 62 74 6e 20 | (the id| of btn |
|00003970| 69 29 20 69 6e 74 6f 20 | 6f 62 6a 0d 65 6e 64 20 |i) into |obj.end |
|00003980| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|00003990| 20 77 6f 72 64 20 31 20 | 6f 66 20 6f 62 6a 20 3d | word 1 |of obj =|
|000039a0| 20 22 66 6c 64 22 20 74 | 68 65 6e 0d 70 75 74 20 | "fld" t|hen.put |
|000039b0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000039c0| 6e 65 73 20 6f 66 20 63 | 68 61 72 20 31 20 74 6f |nes of c|har 1 to|
|000039d0| 20 28 6f 66 66 73 65 74 | 28 6f 6c 64 6e 2c 66 6c | (offset|(oldn,fl|
|000039e0| 64 20 63 68 61 70 6c 69 | 73 74 29 29 c2 0d 6f 66 |d chapli|st))..of|
|000039f0| 20 66 6c 64 20 63 68 61 | 70 6c 69 73 74 20 69 6e | fld cha|plist in|
|00003a00| 74 6f 20 72 0d 73 65 6e | 64 20 28 22 63 68 72 65 |to r.sen|d ("chre|
|00003a10| 6e 61 6d 65 22 20 26 26 | 20 72 2b 31 30 33 20 26 |name" &&| r+103 &|
|00003a20| 20 22 2c 22 20 26 20 71 | 75 6f 74 65 20 26 20 6e | "," & q|uote & n|
|00003a30| 65 77 6e 20 26 20 71 75 | 6f 74 65 29 20 74 6f 20 |ewn & qu|ote) to |
|00003a40| 74 68 69 73 20 62 67 0d | 70 6f 70 20 63 64 0d 75 |this bg.|pop cd.u|
|00003a50| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 78 69 |nlock sc|reen.exi|
|00003a60| 74 20 74 72 65 6e 61 6d | 65 0d 65 6e 64 20 69 66 |t trenam|e.end if|
|00003a70| 0d 65 6c 73 65 0d 70 75 | 73 68 20 63 64 0d 65 6e |.else.pu|sh cd.en|
|00003a80| 64 20 69 66 0d 73 65 74 | 20 74 68 65 20 6e 61 6d |d if.set| the nam|
|00003a90| 65 20 6f 66 20 28 6f 62 | 6a 29 20 74 6f 20 28 6e |e of (ob|j) to (n|
|00003aa0| 65 77 6e 29 0d 73 65 6e | 64 20 6d 6f 75 73 65 55 |ewn).sen|d mouseU|
|00003ab0| 70 20 74 6f 20 28 6f 62 | 6a 29 0d 72 65 70 65 61 |p to (ob|j).repea|
|00003ac0| 74 20 75 6e 74 69 6c 20 | 6c 69 6e 65 20 31 20 6f |t until |line 1 o|
|00003ad0| 66 20 66 6c 64 20 63 68 | 61 70 74 65 72 20 ad 20 |f fld ch|apter . |
|00003ae0| 28 6f 6c 64 6e 29 0d 73 | 65 74 20 63 75 72 73 6f |(oldn).s|et curso|
|00003af0| 72 20 74 6f 20 62 75 73 | 79 0d 70 75 74 20 28 6e |r to bus|y.put (n|
|00003b00| 65 77 6e 29 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |ewn) int|o line 1|
|00003b10| 20 6f 66 20 66 6c 64 20 | 63 68 61 70 74 65 72 0d | of fld |chapter.|
|00003b20| 67 6f 20 6e 65 78 74 0d | 69 66 20 77 6f 72 64 20 |go next.|if word |
|00003b30| 31 20 6f 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |1 of the| short n|
|00003b40| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 3d |ame of t|his bg =|
|00003b50| 20 22 62 6b 67 6e 64 22 | 20 74 68 65 6e 20 65 78 | "bkgnd"| then ex|
|00003b60| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |it repea|t.end re|
|00003b70| 70 65 61 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |peat.set| cursor |
|00003b80| 74 6f 20 31 0d 70 6f 70 | 20 63 64 0d 75 6e 6c 6f |to 1.pop| cd.unlo|
|00003b90| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 69 66 |ck scree|n.end if|
|00003ba0| 0d 65 6e 64 20 74 72 65 | 6e 61 6d 65 0d 0d 6f 6e |.end tre|name..on|
|00003bb0| 20 63 72 65 6e 61 6d 65 | 20 6f 62 6a 0d 70 75 74 | crename| obj.put|
|00003bc0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00003bd0| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 28 6f 62 |of bg bt|n id (ob|
|00003be0| 6a 29 20 69 6e 74 6f 20 | 6f 6c 64 6e 0d 61 73 6b |j) into |oldn.ask|
|00003bf0| 20 22 50 6c 65 61 73 65 | 20 65 6e 74 65 72 20 74 | "Please| enter t|
|00003c00| 68 65 20 6e 65 77 20 63 | 6f 6e 74 65 6e 74 73 20 |he new c|ontents |
|00003c10| 6e 61 6d 65 3a 22 20 77 | 69 74 68 20 6f 6c 64 6e |name:" w|ith oldn|
|00003c20| 0d 69 66 20 69 74 20 ad | 20 65 6d 70 74 79 20 74 |.if it .| empty t|
|00003c30| 68 65 6e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen.lock| screen.|
|00003c40| 70 75 73 68 20 63 64 0d | 70 75 74 20 69 74 20 69 |push cd.|put it i|
|00003c50| 6e 74 6f 20 6e 65 77 6e | 0d 72 65 70 65 61 74 20 |nto newn|.repeat |
|00003c60| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00003c70| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 67 73 0d |e number| of bgs.|
|00003c80| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00003c90| 73 79 0d 67 6f 20 62 67 | 20 69 0d 72 65 70 65 61 |sy.go bg| i.repea|
|00003ca0| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00003cb0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 67 |the numb|er of bg|
|00003cc0| 20 62 74 6e 73 0d 69 66 | 20 74 68 65 20 73 68 6f | btns.if| the sho|
|00003cd0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |rt name |of bg bt|
|00003ce0| 6e 20 6a 20 3d 20 28 6f | 6c 64 6e 29 20 74 68 65 |n j = (o|ldn) the|
|00003cf0| 6e 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |n.set th|e name o|
|00003d00| 66 20 62 67 20 62 74 6e | 20 6a 20 74 6f 20 28 6e |f bg btn| j to (n|
|00003d10| 65 77 6e 29 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ewn).end| if.end |
|00003d20| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00003d30| 74 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |t.set cu|rsor to |
|00003d40| 31 0d 70 6f 70 20 63 64 | 0d 75 6e 6c 6f 63 6b 20 |1.pop cd|.unlock |
|00003d50| 73 63 72 65 65 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |screen.e|nd if.en|
|00003d60| 64 20 63 72 65 6e 61 6d | 65 0d 0d 6f 6e 20 73 74 |d crenam|e..on st|
|00003d70| 72 65 6e 61 6d 65 20 6f | 6c 64 6e 0d 6c 6f 63 6b |rename o|ldn.lock|
|00003d80| 20 73 63 72 65 65 6e 0d | 70 75 73 68 20 63 64 0d | screen.|push cd.|
|00003d90| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 6c |put line| 1 of fl|
|00003da0| 64 20 22 43 68 61 70 74 | 65 72 22 20 69 6e 74 6f |d "Chapt|er" into|
|00003db0| 20 63 6e 61 6d 65 0d 67 | 6f 20 63 64 20 22 43 6f | cname.g|o cd "Co|
|00003dc0| 6e 74 65 6e 74 73 20 54 | 65 6d 70 6c 61 74 65 22 |ntents T|emplate"|
|00003dd0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00003de0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 63 68 61 72 |of lines| of char|
|00003df0| 20 31 20 74 6f 20 28 6f | 66 66 73 65 74 28 63 6e | 1 to (o|ffset(cn|
|00003e00| 61 6d 65 2c 66 6c 64 20 | 63 68 61 70 6c 69 73 74 |ame,fld |chaplist|
|00003e10| 29 29 20 6f 66 c2 0d 66 | 6c 64 20 63 68 61 70 6c |)) of..f|ld chapl|
|00003e20| 69 73 74 20 69 6e 74 6f | 20 78 0d 69 66 20 78 20 |ist into| x.if x |
|00003e30| 3e 20 30 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |> 0 then|.put the|
|00003e40| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00003e50| 20 6f 66 20 63 68 61 72 | 20 31 20 74 6f 20 28 6f | of char| 1 to (o|
|00003e60| 66 66 73 65 74 28 6f 6c | 64 6e 2c 66 6c 64 20 28 |ffset(ol|dn,fld (|
|00003e70| 78 29 29 29 20 6f 66 20 | 66 6c 64 20 28 78 29 c2 |x))) of |fld (x).|
|00003e80| 0d 69 6e 74 6f 20 74 6c | 69 6e 65 0d 72 65 70 65 |.into tl|ine.repe|
|00003e90| 61 74 20 77 68 69 6c 65 | 20 63 68 61 72 20 31 20 |at while| char 1 |
|00003ea0| 6f 66 20 6c 69 6e 65 20 | 28 74 6c 69 6e 65 29 20 |of line |(tline) |
|00003eb0| 6f 66 20 66 6c 64 20 28 | 78 29 20 3d 20 22 20 22 |of fld (|x) = " "|
|00003ec0| 0d 70 75 74 20 22 20 22 | 20 62 65 66 6f 72 65 20 |.put " "| before |
|00003ed0| 6f 6c 64 6e 0d 64 65 6c | 65 74 65 20 63 68 61 72 |oldn.del|ete char|
|00003ee0| 20 31 20 6f 66 20 6c 69 | 6e 65 20 28 74 6c 69 6e | 1 of li|ne (tlin|
|00003ef0| 65 29 20 6f 66 20 66 6c | 64 20 28 78 29 0d 65 6e |e) of fl|d (x).en|
|00003f00| 64 20 72 65 70 65 61 74 | 0d 73 65 6e 64 20 22 73 |d repeat|.send "s|
|00003f10| 72 65 6e 61 6d 65 22 20 | 26 26 20 71 75 6f 74 65 |rename" |&& quote|
|00003f20| 20 26 20 6f 6c 64 6e 20 | 26 20 71 75 6f 74 65 20 | & oldn |& quote |
|00003f30| 26 20 22 2c 22 20 26 20 | 78 20 26 20 22 2c 22 20 |& "," & |x & "," |
|00003f40| 26 20 74 6c 69 6e 65 20 | 74 6f c2 0d 74 68 69 73 |& tline |to..this|
|00003f50| 20 62 67 0d 70 6f 70 20 | 63 64 0d 65 6c 73 65 0d | bg.pop |cd.else.|
|00003f60| 70 6f 70 20 63 64 0d 70 | 75 73 68 20 63 64 0d 72 |pop cd.p|ush cd.r|
|00003f70| 65 70 65 61 74 20 66 6f | 72 65 76 65 72 0d 61 73 |epeat fo|rever.as|
|00003f80| 6b 20 22 50 6c 65 61 73 | 65 20 72 65 6e 61 6d 65 |k "Pleas|e rename|
|00003f90| 20 74 68 65 20 74 6f 70 | 69 63 3a 22 20 77 69 74 | the top|ic:" wit|
|00003fa0| 68 20 6f 6c 64 6e 0d 70 | 75 74 20 69 74 20 69 6e |h oldn.p|ut it in|
|00003fb0| 74 6f 20 79 0d 69 66 20 | 79 20 ad 20 22 22 20 61 |to y.if |y . "" a|
|00003fc0| 6e 64 20 79 20 ad 20 6f | 6c 64 6e 20 74 68 65 6e |nd y . o|ldn then|
|00003fd0| 0d 69 66 20 79 20 3e 20 | 2d 39 39 39 39 39 39 20 |.if y > |-999999 |
|00003fe0| 61 6e 64 20 79 20 3c 20 | 39 39 39 39 39 39 20 74 |and y < |999999 t|
|00003ff0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 43 61 6e d5 |hen.answ|er "Can.|
|00004000| 74 20 75 73 65 20 61 20 | 6e 75 6d 62 65 72 20 61 |t use a |number a|
|00004010| 73 20 61 20 6e 61 6d 65 | 21 22 0d 65 6c 73 65 0d |s a name|!".else.|
|00004020| 69 66 20 74 6f 70 65 78 | 69 73 74 73 28 79 29 20 |if topex|ists(y) |
|00004030| ad 20 22 21 21 21 22 20 | 74 68 65 6e 0d 69 66 20 |. "!!!" |then.if |
|00004040| 74 6f 70 70 6f 73 28 29 | 20 3e 20 31 20 74 68 65 |toppos()| > 1 the|
|00004050| 6e 0d 72 65 70 65 61 74 | 20 28 74 6f 70 70 6f 73 |n.repeat| (toppos|
|00004060| 28 29 2d 31 29 0d 73 65 | 74 20 63 75 72 73 6f 72 |()-1).se|t cursor|
|00004070| 20 74 6f 20 62 75 73 79 | 0d 67 6f 20 70 72 65 76 | to busy|.go prev|
|00004080| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00004090| 69 66 0d 72 65 70 65 61 | 74 20 72 65 70 65 61 74 |if.repea|t repeat|
|000040a0| 65 72 28 29 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |er().set| cursor |
|000040b0| 74 6f 20 62 75 73 79 0d | 69 66 20 6c 69 6e 65 20 |to busy.|if line |
|000040c0| 31 20 6f 66 20 66 6c 64 | 20 73 65 63 74 69 6f 6e |1 of fld| section|
|000040d0| 20 3d 20 28 6f 6c 64 6e | 29 20 74 68 65 6e 20 70 | = (oldn|) then p|
|000040e0| 75 74 20 79 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |ut y int|o line 1|
|000040f0| 20 6f 66 20 66 6c 64 20 | 73 65 63 74 69 6f 6e 0d | of fld |section.|
|00004100| 67 6f 20 6e 65 78 74 0d | 65 6e 64 20 72 65 70 65 |go next.|end repe|
|00004110| 61 74 0d 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |at.exit |repeat.e|
|00004120| 6c 73 65 0d 61 6e 73 77 | 65 72 20 22 54 68 61 74 |lse.answ|er "That|
|00004130| 20 6e 61 6d 65 20 69 73 | 20 74 61 6b 65 6e d1 74 | name is| taken.t|
|00004140| 72 79 20 61 6e 6f 74 68 | 65 72 2e 22 0d 65 6e 64 |ry anoth|er.".end|
|00004150| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d | if.end |if.else.|
|00004160| 65 78 69 74 20 73 74 72 | 65 6e 61 6d 65 0d 65 6e |exit str|ename.en|
|00004170| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00004180| 70 6f 70 20 63 64 0d 65 | 6e 64 20 69 66 0d 75 6e |pop cd.e|nd if.un|
|00004190| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|000041a0| 73 74 72 65 6e 61 6d 65 | 0d 0d 6f 6e 20 67 65 74 |strename|..on get|
|000041b0| 68 65 6c 70 0d 76 69 73 | 75 61 6c 20 69 72 69 73 |help.vis|ual iris|
|000041c0| 20 63 6c 6f 73 65 20 74 | 6f 20 62 6c 61 63 6b 0d | close t|o black.|
|000041d0| 76 69 73 75 61 6c 20 69 | 72 69 73 20 6f 70 65 6e |visual i|ris open|
|000041e0| 0d 67 6f 20 62 67 20 22 | 48 65 6c 70 22 0d 65 6e |.go bg "|Help".en|
|000041f0| 64 20 67 65 74 68 65 6c | 70 0d 0d 66 75 6e 63 74 |d gethel|p..funct|
|00004200| 69 6f 6e 20 63 6c 69 63 | 6b 6c 69 6e 65 0d 70 75 |ion clic|kline.pu|
|00004210| 74 20 28 69 74 65 6d 20 | 32 20 6f 66 20 74 68 65 |t (item |2 of the|
|00004220| 20 63 6c 69 63 6b 6c 6f | 63 29 20 69 6e 74 6f 20 | clicklo|c) into |
|00004230| 43 4c 0d 70 75 74 20 28 | 69 74 65 6d 20 32 20 6f |CL.put (|item 2 o|
|00004240| 66 20 74 6f 70 6c 65 66 | 74 20 6f 66 20 74 68 65 |f toplef|t of the|
|00004250| 20 74 61 72 67 65 74 29 | 20 69 6e 74 6f 20 54 4c | target)| into TL|
|00004260| 0d 70 75 74 20 74 65 78 | 74 68 65 69 67 68 74 20 |.put tex|theight |
|00004270| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 69 6e |of the t|arget in|
|00004280| 74 6f 20 54 48 0d 70 75 | 74 20 74 68 65 20 73 63 |to TH.pu|t the sc|
|00004290| 72 6f 6c 6c 20 6f 66 20 | 74 68 65 20 74 61 72 67 |roll of |the targ|
|000042a0| 65 74 20 69 6e 74 6f 20 | 53 43 52 0d 72 65 74 75 |et into |SCR.retu|
|000042b0| 72 6e 20 28 28 53 43 52 | 20 64 69 76 20 54 48 29 |rn ((SCR| div TH)|
|000042c0| 20 2b 20 28 28 43 4c 20 | 2d 20 54 4c 29 20 64 69 | + ((CL |- TL) di|
|000042d0| 76 20 54 48 20 2b 20 31 | 29 29 0d 65 6e 64 20 63 |v TH + 1|)).end c|
|000042e0| 6c 69 63 6b 6c 69 6e 65 | 0d 0d 66 75 6e 63 74 69 |lickline|..functi|
|000042f0| 6f 6e 20 67 65 74 63 6e | 61 6d 65 20 78 0d 69 66 |on getcn|ame x.if|
|00004300| 20 63 68 61 72 20 31 20 | 6f 66 20 78 20 3d 20 64 | char 1 |of x = d|
|00004310| 65 6c 6d 61 72 6b 28 29 | 20 74 68 65 6e 0d 64 65 |elmark()| then.de|
|00004320| 6c 65 74 65 20 63 68 61 | 72 20 31 20 6f 66 20 78 |lete cha|r 1 of x|
|00004330| 0d 65 6e 64 20 69 66 0d | 69 66 20 63 68 61 72 20 |.end if.|if char |
|00004340| 31 20 6f 66 20 78 20 3d | 20 22 20 22 20 74 68 65 |1 of x =| " " the|
|00004350| 6e 0d 70 75 74 20 73 74 | 72 69 70 53 70 61 63 65 |n.put st|ripSpace|
|00004360| 28 78 29 20 69 6e 74 6f | 20 78 0d 65 6e 64 20 69 |(x) into| x.end i|
|00004370| 66 0d 72 65 74 75 72 6e | 20 63 68 61 72 20 31 20 |f.return| char 1 |
|00004380| 74 6f 20 32 35 20 6f 66 | 20 78 0d 65 6e 64 20 67 |to 25 of| x.end g|
|00004390| 65 74 63 6e 61 6d 65 0d | 0d 66 75 6e 63 74 69 6f |etcname.|.functio|
|000043a0| 6e 20 64 65 6c 6d 61 72 | 6b 0d 72 65 74 75 72 6e |n delmar|k.return|
|000043b0| 20 22 2a 22 0d 65 6e 64 | 20 64 65 6c 6d 61 72 6b | "*".end| delmark|
|000043c0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 72 65 70 65 61 |..functi|on repea|
|000043d0| 74 65 72 0d 67 65 74 20 | 6c 61 73 74 20 77 6f 72 |ter.get |last wor|
|000043e0| 64 20 6f 66 20 66 6c 64 | 20 22 43 6f 6e 74 69 6e |d of fld| "Contin|
|000043f0| 75 65 64 22 0d 69 66 20 | 69 74 20 3e 20 30 20 61 |ued".if |it > 0 a|
|00004400| 6e 64 20 69 74 20 3c 20 | 39 39 39 20 74 68 65 6e |nd it < |999 then|
|00004410| 0d 72 65 74 75 72 6e 20 | 69 74 0d 65 6c 73 65 0d |.return |it.else.|
|00004420| 72 65 74 75 72 6e 20 31 | 0d 65 6e 64 20 69 66 0d |return 1|.end if.|
|00004430| 65 6e 64 20 72 65 70 65 | 61 74 65 72 0d 0d 66 75 |end repe|ater..fu|
|00004440| 6e 63 74 69 6f 6e 20 73 | 74 72 69 70 53 70 61 63 |nction s|tripSpac|
|00004450| 65 20 78 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |e x.repe|at while|
|00004460| 20 63 68 61 72 20 31 20 | 6f 66 20 78 20 3d 20 22 | char 1 |of x = "|
|00004470| 20 22 0d 64 65 6c 65 74 | 65 20 63 68 61 72 20 31 | ".delet|e char 1|
|00004480| 20 6f 66 20 78 0d 65 6e | 64 20 72 65 70 65 61 74 | of x.en|d repeat|
|00004490| 0d 72 65 74 75 72 6e 20 | 78 0d 65 6e 64 20 73 74 |.return |x.end st|
|000044a0| 72 69 70 53 70 61 63 65 | 0d 0d 66 75 6e 63 74 69 |ripSpace|..functi|
|000044b0| 6f 6e 20 74 6f 70 70 6f | 73 0d 67 65 74 20 77 6f |on toppo|s.get wo|
|000044c0| 72 64 20 31 20 6f 66 20 | 66 6c 64 20 22 43 6f 6e |rd 1 of |fld "Con|
|000044d0| 74 69 6e 75 65 64 22 0d | 69 66 20 69 74 20 3e 20 |tinued".|if it > |
|000044e0| 30 20 61 6e 64 20 69 74 | 20 3c 20 39 39 39 20 74 |0 and it| < 999 t|
|000044f0| 68 65 6e 0d 72 65 74 75 | 72 6e 20 69 74 0d 65 6c |hen.retu|rn it.el|
|00004500| 73 65 0d 72 65 74 75 72 | 6e 20 31 0d 65 6e 64 20 |se.retur|n 1.end |
|00004510| 69 66 0d 65 6e 64 20 74 | 6f 70 70 6f 73 0d 0d 6f |if.end t|oppos..o|
|00004520| 6e 20 6d 6b 63 6c 69 63 | 6b 61 62 6c 65 20 74 79 |n mkclic|kable ty|
|00004530| 70 65 0d 69 66 20 74 79 | 70 65 20 ad 20 22 22 20 |pe.if ty|pe . "" |
|00004540| 74 68 65 6e 0d 70 75 74 | 20 22 4f 4b 22 20 69 6e |then.put| "OK" in|
|00004550| 74 6f 20 69 74 0d 65 6c | 73 65 0d 69 66 20 74 68 |to it.el|se.if th|
|00004560| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00004570| 74 68 69 73 20 63 64 20 | 3d 20 28 28 74 68 65 20 |this cd |= ((the |
|00004580| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00004590| 69 73 20 62 67 29 20 26 | 26 c2 0d 22 54 65 6d 70 |is bg) &|&.."Temp|
|000045a0| 6c 61 74 65 22 29 20 74 | 68 65 6e 0d 61 6e 73 77 |late") t|hen.answ|
|000045b0| 65 72 20 22 50 6c 65 61 | 73 65 20 64 6f 20 6e 6f |er "Plea|se do no|
|000045c0| 74 20 61 6c 74 65 72 20 | 74 68 69 73 20 74 65 6d |t alter |this tem|
|000045d0| 70 6c 61 74 65 20 63 61 | 72 64 2e 22 0d 65 78 69 |plate ca|rd.".exi|
|000045e0| 74 20 6d 6b 63 6c 69 63 | 6b 61 62 6c 65 0d 65 6e |t mkclic|kable.en|
|000045f0| 64 20 69 66 0d 69 66 20 | 66 6c 64 20 22 43 6c 69 |d if.if |fld "Cli|
|00004600| 63 6b 61 62 6c 65 3f 22 | 20 69 73 20 22 43 6c 69 |ckable?"| is "Cli|
|00004610| 63 6b 22 20 74 68 65 6e | 0d 70 75 74 20 22 4e 6f |ck" then|.put "No|
|00004620| 74 43 6c 22 20 69 6e 74 | 6f 20 74 79 70 65 0d 61 |tCl" int|o type.a|
|00004630| 6e 73 77 65 72 20 22 4d | 61 6b 65 20 74 68 69 73 |nswer "M|ake this|
|00004640| 20 63 61 72 64 20 6e 6f | 6e 2d 63 6c 69 63 6b 61 | card no|n-clicka|
|00004650| 62 6c 65 3f 22 20 77 69 | 74 68 20 22 4f 4b 22 20 |ble?" wi|th "OK" |
|00004660| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 65 6c 73 65 |or "Canc|el".else|
|00004670| 0d 70 75 74 20 22 43 6c | 69 63 6b 22 20 69 6e 74 |.put "Cl|ick" int|
|00004680| 6f 20 74 79 70 65 0d 61 | 6e 73 77 65 72 20 22 4d |o type.a|nswer "M|
|00004690| 61 6b 65 20 74 68 69 73 | 20 63 61 72 64 20 63 6c |ake this| card cl|
|000046a0| 69 63 6b 61 62 6c 65 3f | 22 20 77 69 74 68 20 22 |ickable?|" with "|
|000046b0| 4f 4b 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 0d |OK" or "|Cancel".|
|000046c0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 69 66 |end if.e|nd if.if|
|000046d0| 20 69 74 20 69 73 20 22 | 4f 4b 22 20 74 68 65 6e | it is "|OK" then|
|000046e0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 69 66 20 |.lock sc|reen.if |
|000046f0| 74 79 70 65 20 69 73 20 | 22 43 6c 69 63 6b 22 20 |type is |"Click" |
|00004700| 61 6e 64 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |and the |number o|
|00004710| 66 20 62 74 6e 73 20 3c | 20 31 36 20 74 68 65 6e |f btns <| 16 then|
|00004720| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00004730| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 26 |ame of t|his bg &|
|00004740| 26 20 22 54 65 6d 70 6c | 61 74 65 22 20 69 6e 74 |& "Templ|ate" int|
|00004750| 6f 20 63 6e 0d 70 75 73 | 68 20 63 64 0d 67 6f 20 |o cn.pus|h cd.go |
|00004760| 63 61 72 64 20 28 63 6e | 29 0d 73 65 6c 65 63 74 |card (cn|).select|
|00004770| 20 62 74 6e 20 31 0d 64 | 6f 4d 65 6e 75 20 22 43 | btn 1.d|oMenu "C|
|00004780| 6f 70 79 20 42 75 74 74 | 6f 6e 22 0d 70 6f 70 20 |opy Butt|on".pop |
|00004790| 63 64 0d 72 65 70 65 61 | 74 20 31 36 0d 73 65 74 |cd.repea|t 16.set|
|000047a0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|000047b0| 64 6f 4d 65 6e 75 20 22 | 50 61 73 74 65 20 42 75 |doMenu "|Paste Bu|
|000047c0| 74 74 6f 6e 22 0d 65 6e | 64 20 72 65 70 65 61 74 |tton".en|d repeat|
|000047d0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000047e0| 20 32 20 74 6f 20 31 36 | 0d 73 65 74 20 63 75 72 | 2 to 16|.set cur|
|000047f0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 65 74 20 |sor to b|usy.set |
|00004800| 74 68 65 20 72 65 63 74 | 20 6f 66 20 62 74 6e 20 |the rect| of btn |
|00004810| 69 20 74 6f 20 64 65 66 | 61 75 6c 74 70 6f 73 28 |i to def|aultpos(|
|00004820| 69 29 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |i).set t|he name |
|00004830| 6f 66 20 62 74 6e 20 69 | 20 74 6f 20 28 69 29 0d |of btn i| to (i).|
|00004840| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|00004850| 62 74 6e 20 69 20 74 6f | 20 36 30 30 30 0d 73 65 |btn i to| 6000.se|
|00004860| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00004870| 62 74 6e 20 69 20 74 6f | 20 66 61 6c 73 65 0d 65 |btn i to| false.e|
|00004880| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 66 6c 64 |nd repea|t.if fld|
|00004890| 20 37 20 ad 20 22 22 20 | 74 68 65 6e 0d 73 65 74 | 7 . "" |then.set|
|000048a0| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 74 6e | the ico|n of btn|
|000048b0| 20 31 20 74 6f 20 36 30 | 30 31 0d 65 6e 64 20 69 | 1 to 60|01.end i|
|000048c0| 66 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 6c 69 6e |f.put 1 |into lin|
|000048d0| 65 20 31 20 6f 66 20 66 | 6c 64 20 22 53 74 61 74 |e 1 of f|ld "Stat|
|000048e0| 75 73 22 0d 65 6c 73 65 | 0d 73 65 6e 64 20 22 63 |us".else|.send "c|
|000048f0| 6c 69 63 6b 48 4c 20 31 | 22 20 74 6f 20 74 68 69 |lickHL 1|" to thi|
|00004900| 73 20 62 67 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |s bg.if |the numb|
|00004910| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 66 |er of li|nes of f|
|00004920| 6c 64 20 22 53 74 61 74 | 75 73 22 20 3e 20 34 20 |ld "Stat|us" > 4 |
|00004930| 74 68 65 6e 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |then.put| "" into|
|00004940| 20 6c 69 6e 65 20 35 20 | 74 6f 20 28 74 68 65 20 | line 5 |to (the |
|00004950| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00004960| 6f 66 20 66 6c 64 20 22 | 53 74 61 74 75 73 22 29 |of fld "|Status")|
|00004970| c2 0d 6f 66 20 66 6c 64 | 20 22 53 74 61 74 75 73 |..of fld| "Status|
|00004980| 22 0d 65 6e 64 20 69 66 | 0d 72 65 70 65 61 74 20 |".end if|.repeat |
|00004990| 77 69 74 68 20 69 20 3d | 20 31 36 20 64 6f 77 6e |with i =| 16 down|
|000049a0| 20 74 6f 20 31 0d 73 65 | 74 20 63 75 72 73 6f 72 | to 1.se|t cursor|
|000049b0| 20 74 6f 20 62 75 73 79 | 0d 73 65 6c 65 63 74 20 | to busy|.select |
|000049c0| 62 74 6e 20 69 0d 64 6f | 4d 65 6e 75 20 22 43 6c |btn i.do|Menu "Cl|
|000049d0| 65 61 72 20 42 75 74 74 | 6f 6e 22 0d 65 6e 64 20 |ear Butt|on".end |
|000049e0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 70 75 |repeat.e|nd if.pu|
|000049f0| 74 20 74 79 70 65 20 69 | 6e 74 6f 20 66 6c 64 20 |t type i|nto fld |
|00004a00| 22 43 6c 69 63 6b 61 62 | 6c 65 3f 22 0d 63 68 6f |"Clickab|le?".cho|
|00004a10| 6f 73 65 20 74 6f 6f 6c | 20 31 0d 75 6e 6c 6f 63 |ose tool| 1.unloc|
|00004a20| 6b 20 73 63 72 65 65 6e | 20 77 69 74 68 20 76 69 |k screen| with vi|
|00004a30| 73 75 61 6c 20 77 69 70 | 65 20 64 6f 77 6e 20 73 |sual wip|e down s|
|00004a40| 6c 6f 77 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |low.end |if.end m|
|00004a50| 6b 63 6c 69 63 6b 61 62 | 6c 65 0d 0d 6f 6e 20 72 |kclickab|le..on r|
|00004a60| 65 50 6f 73 20 78 0d 69 | 66 20 74 68 65 20 63 6f |ePos x.i|f the co|
|00004a70| 6d 6d 61 6e 64 4b 65 79 | 20 69 73 20 64 6f 77 6e |mmandKey| is down|
|00004a80| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 63 75 | then.se|t the cu|
|00004a90| 72 73 6f 72 20 74 6f 20 | 61 72 72 6f 77 0d 73 65 |rsor to |arrow.se|
|00004aa0| 74 20 74 68 65 20 73 74 | 79 6c 65 20 6f 66 20 62 |t the st|yle of b|
|00004ab0| 74 6e 20 28 78 29 20 74 | 6f 20 72 65 63 74 61 6e |tn (x) t|o rectan|
|00004ac0| 67 6c 65 0d 69 66 20 74 | 68 65 20 73 68 69 66 74 |gle.if t|he shift|
|00004ad0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00004ae0| 0d 70 75 74 20 74 68 65 | 20 74 6f 70 6c 65 66 74 |.put the| topleft|
|00004af0| 20 6f 66 20 62 74 6e 20 | 28 78 29 20 69 6e 74 6f | of btn |(x) into|
|00004b00| 20 79 0d 70 75 74 20 28 | 69 74 65 6d 20 31 20 6f | y.put (|item 1 o|
|00004b10| 66 20 74 68 65 20 6d 6f | 75 73 65 4c 6f 63 29 20 |f the mo|useLoc) |
|00004b20| 2b 20 31 20 69 6e 74 6f | 20 69 74 65 6d 20 33 20 |+ 1 into| item 3 |
|00004b30| 6f 66 20 79 0d 70 75 74 | 20 28 69 74 65 6d 20 32 |of y.put| (item 2|
|00004b40| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 | of the |mouseLoc|
|00004b50| 29 20 2b 20 31 20 69 6e | 74 6f 20 69 74 65 6d 20 |) + 1 in|to item |
|00004b60| 34 20 6f 66 20 79 0d 73 | 65 74 20 74 68 65 20 72 |4 of y.s|et the r|
|00004b70| 65 63 74 20 6f 66 20 62 | 74 6e 20 28 78 29 20 74 |ect of b|tn (x) t|
|00004b80| 6f 20 28 79 29 0d 65 6c | 73 65 0d 73 65 74 20 74 |o (y).el|se.set t|
|00004b90| 68 65 20 6c 6f 63 20 6f | 66 20 62 74 6e 20 28 78 |he loc o|f btn (x|
|00004ba0| 29 20 74 6f 20 74 68 65 | 20 6d 6f 75 73 65 4c 6f |) to the| mouseLo|
|00004bb0| 63 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |c.end if|.end if.|
|00004bc0| 65 6e 64 20 72 65 50 6f | 73 0d 0d 6f 6e 20 74 6f |end rePo|s..on to|
|00004bd0| 67 50 6f 73 20 78 0d 69 | 66 20 74 68 65 20 6e 75 |gPos x.i|f the nu|
|00004be0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00004bf0| 20 66 6c 64 20 73 74 61 | 74 75 73 20 3e 20 34 20 | fld sta|tus > 4 |
|00004c00| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|00004c10| 20 69 20 3d 20 35 20 74 | 6f 20 74 68 65 20 6e 75 | i = 5 t|o the nu|
|00004c20| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00004c30| 20 66 6c 64 20 73 74 61 | 74 75 73 0d 69 66 20 6c | fld sta|tus.if l|
|00004c40| 69 6e 65 20 28 69 29 20 | 6f 66 20 66 6c 64 20 73 |ine (i) |of fld s|
|00004c50| 74 61 74 75 73 20 ad 20 | 22 22 20 74 68 65 6e 0d |tatus . |"" then.|
|00004c60| 69 66 20 78 20 3d 20 74 | 72 75 65 20 74 68 65 6e |if x = t|rue then|
|00004c70| 0d 73 65 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 |.set the| rect of|
|00004c80| 20 62 74 6e 20 28 69 2d | 34 29 20 74 6f 20 28 6c | btn (i-|4) to (l|
|00004c90| 69 6e 65 20 28 69 29 20 | 6f 66 20 66 6c 64 20 73 |ine (i) |of fld s|
|00004ca0| 74 61 74 75 73 29 0d 65 | 6c 73 65 0d 73 65 74 20 |tatus).e|lse.set |
|00004cb0| 74 68 65 20 72 65 63 74 | 20 6f 66 20 62 74 6e 20 |the rect| of btn |
|00004cc0| 28 69 2d 34 29 20 74 6f | 20 64 65 66 61 75 6c 74 |(i-4) to| default|
|00004cd0| 70 6f 73 28 69 2d 34 29 | 0d 65 6e 64 20 69 66 0d |pos(i-4)|.end if.|
|00004ce0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00004cf0| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 74 6f 67 |t.end if|.end tog|
|00004d00| 50 6f 73 0d 0d 6f 6e 20 | 64 6f 62 74 6e 20 78 0d |Pos..on |dobtn x.|
|00004d10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00004d20| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00004d30| 6f 66 20 62 74 6e 73 0d | 73 65 74 20 74 68 65 20 |of btns.|set the |
|00004d40| 76 69 73 69 62 6c 65 20 | 6f 66 20 62 74 6e 20 69 |visible |of btn i|
|00004d50| 20 74 6f 20 78 0d 65 6e | 64 20 72 65 70 65 61 74 | to x.en|d repeat|
|00004d60| 0d 65 6e 64 20 64 6f 62 | 74 6e 0d 0d 66 75 6e 63 |.end dob|tn..func|
|00004d70| 74 69 6f 6e 20 63 6f 6e | 74 74 65 78 74 20 78 2c |tion con|ttext x,|
|00004d80| 79 0d 72 65 74 75 72 6e | 20 78 20 26 26 20 22 6f |y.return| x && "o|
|00004d90| 66 22 20 26 26 20 79 0d | 65 6e 64 20 63 6f 6e 74 |f" && y.|end cont|
|00004da0| 74 65 78 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 67 |text..fu|nction g|
|00004db0| 65 74 61 72 74 66 69 6c | 65 0d 69 66 20 74 68 65 |etartfil|e.if the|
|00004dc0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004dd0| 68 69 73 20 63 64 20 3d | 20 28 74 68 65 20 73 68 |his cd =| (the sh|
|00004de0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00004df0| 20 62 67 20 26 26 c2 0d | 22 54 65 6d 70 6c 61 74 | bg &&..|"Templat|
|00004e00| 65 22 29 20 74 68 65 6e | 0d 72 65 74 75 72 6e 20 |e") then|.return |
|00004e10| 22 2a 2a 2a 22 0d 65 6c | 73 65 0d 69 66 20 74 68 |"***".el|se.if th|
|00004e20| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00004e30| 74 68 69 73 20 62 67 20 | 3d 20 22 54 4f 43 22 20 |this bg |= "TOC" |
|00004e40| 74 68 65 6e 0d 72 65 74 | 75 72 6e 20 22 22 0d 65 |then.ret|urn "".e|
|00004e50| 6c 73 65 0d 72 65 74 75 | 72 6e 20 6c 69 6e 65 20 |lse.retu|rn line |
|00004e60| 31 20 6f 66 20 66 6c 64 | 20 22 61 72 74 46 69 6c |1 of fld| "artFil|
|00004e70| 65 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |e".end i|f.end if|
|00004e80| 0d 65 6e 64 20 67 65 74 | 61 72 74 66 69 6c 65 0d |.end get|artfile.|
|00004e90| 0d 6f 6e 20 62 72 65 6e | 61 6d 65 20 6f 6c 64 6e |.on bren|ame oldn|
|00004ea0| 2c 62 69 64 0d 70 75 74 | 20 77 6f 72 64 20 33 20 |,bid.put| word 3 |
|00004eb0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00004ec0| 20 77 6f 72 64 73 20 6f | 66 20 6f 6c 64 6e 20 6f | words o|f oldn o|
|00004ed0| 66 20 6f 6c 64 6e 20 69 | 6e 74 6f 20 78 0d 70 75 |f oldn i|nto x.pu|
|00004ee0| 74 20 28 77 6f 72 64 20 | 31 20 74 6f 20 32 20 6f |t (word |1 to 2 o|
|00004ef0| 66 20 6f 6c 64 6e 29 20 | 26 26 20 22 69 64 22 20 |f oldn) |&& "id" |
|00004f00| 26 26 20 62 69 64 20 69 | 6e 74 6f 20 79 0d 61 73 |&& bid i|nto y.as|
|00004f10| 6b 20 22 50 6c 65 61 73 | 65 20 65 6e 74 65 72 20 |k "Pleas|e enter |
|00004f20| 6e 65 77 20 74 65 78 74 | 20 66 6f 72 20 74 68 69 |new text| for thi|
|00004f30| 73 20 62 75 74 74 6f 6e | 3a 22 20 77 69 74 68 20 |s button|:" with |
|00004f40| 63 68 61 72 20 32 20 74 | 6f c2 0d 28 6c 65 6e 67 |char 2 t|o..(leng|
|00004f50| 74 68 28 78 29 2d 31 29 | 20 6f 66 20 78 0d 69 66 |th(x)-1)| of x.if|
|00004f60| 20 69 74 20 ad 20 22 22 | 20 74 68 65 6e 0d 73 65 | it . ""| then.se|
|00004f70| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 28 79 |t the na|me of (y|
|00004f80| 29 20 74 6f 20 69 74 0d | 65 6e 64 20 69 66 0d 65 |) to it.|end if.e|
|00004f90| 6e 64 20 62 72 65 6e 61 | 6d 65 0d 0d 6f 6e 20 65 |nd brena|me..on e|
|00004fa0| 72 72 6f 72 20 78 0d 69 | 66 20 78 20 69 73 20 22 |rror x.i|f x is "|
|00004fb0| 6d 63 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |mc" then|.answer |
|00004fc0| 22 53 6f 72 72 79 2c 20 | 63 61 6e d5 74 20 66 69 |"Sorry, |can.t fi|
|00004fd0| 6e 64 20 74 68 61 74 20 | 63 61 72 64 21 22 0d 65 |nd that |card!".e|
|00004fe0| 6c 73 65 0d 61 6e 73 77 | 65 72 20 22 53 6f 72 72 |lse.answ|er "Sorr|
|00004ff0| 79 2c 20 65 72 72 6f 72 | 20 63 6f 64 65 22 20 26 |y, error| code" &|
|00005000| 26 20 71 75 6f 74 65 20 | 26 20 78 20 26 26 20 22 |& quote |& x && "|
|00005010| 21 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 65 72 |!".end i|f.end er|
|00005020| 72 6f 72 0d 0d 6f 6e 20 | 6e 6f 74 64 6f 6e 65 0d |ror..on |notdone.|
|00005030| 61 6e 73 77 65 72 20 22 | 53 6f 72 72 79 2c 20 74 |answer "|Sorry, t|
|00005040| 68 61 74 20 66 65 61 74 | 75 72 65 20 69 73 20 6e |hat feat|ure is n|
|00005050| 6f 74 20 79 65 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |ot yet i|mplement|
|00005060| 65 64 2e 22 0d 65 6e 64 | 20 6e 6f 74 64 6f 6e 65 |ed.".end| notdone|
|00005070| 0d 0d 6f 6e 20 6f 70 65 | 6e 53 74 61 63 6b 0d 70 |..on ope|nStack.p|
|00005080| 75 73 68 20 63 64 0d 70 | 61 73 73 20 6f 70 65 6e |ush cd.p|ass open|
|00005090| 53 74 61 63 6b 0d 65 6e | 64 20 6f 70 65 6e 53 74 |Stack.en|d openSt|
|000050a0| 61 63 6b 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ack..on |closeSta|
|000050b0| 63 6b 0d 69 66 20 74 68 | 65 20 73 68 69 66 74 4b |ck.if th|e shiftK|
|000050c0| 65 79 20 69 73 20 75 70 | 20 74 68 65 6e 0d 67 6f |ey is up| then.go|
|000050d0| 20 63 64 20 22 43 6f 6e | 74 65 6e 74 73 20 54 65 | cd "Con|tents Te|
|000050e0| 6d 70 6c 61 74 65 22 0d | 69 66 20 6c 69 6e 65 20 |mplate".|if line |
|000050f0| 31 20 6f 66 20 66 6c 64 | 20 22 63 64 69 6e 66 6f |1 of fld| "cdinfo|
|00005100| 22 20 3d 20 22 63 68 61 | 6e 67 65 64 22 20 74 68 |" = "cha|nged" th|
|00005110| 65 6e 0d 61 6e 73 77 65 | 72 20 22 55 70 64 61 74 |en.answe|r "Updat|
|00005120| 65 20 73 74 61 63 6b 20 | 74 6f 20 6d 61 74 63 68 |e stack |to match|
|00005130| 20 6e 65 77 20 54 4f 43 | 3f 22 20 77 69 74 68 c2 | new TOC|?" with.|
|00005140| 0d 22 59 65 73 22 20 6f | 72 20 22 4e 6f 22 0d 69 |."Yes" o|r "No".i|
|00005150| 66 20 69 74 20 69 73 20 | 22 59 65 73 22 20 74 68 |f it is |"Yes" th|
|00005160| 65 6e 0d 69 66 20 63 68 | 6b 64 65 6c 65 74 65 73 |en.if ch|kdeletes|
|00005170| 28 29 20 3d 20 22 74 72 | 75 65 22 20 74 68 65 6e |() = "tr|ue" then|
|00005180| 0d 73 65 6e 64 20 64 6f | 64 65 6c 65 74 65 73 20 |.send do|deletes |
|00005190| 74 6f 20 62 67 20 22 54 | 4f 43 22 0d 70 75 74 20 |to bg "T|OC".put |
|000051a0| 65 6d 70 74 79 20 69 6e | 74 6f 20 6c 69 6e 65 20 |empty in|to line |
|000051b0| 31 20 6f 66 20 66 6c 64 | 20 22 63 64 69 6e 66 6f |1 of fld| "cdinfo|
|000051c0| 22 0d 65 6e 64 20 69 66 | 0d 69 66 20 6c 69 6e 65 |".end if|.if line|
|000051d0| 20 33 20 6f 66 20 66 6c | 64 20 22 63 64 69 6e 66 | 3 of fl|d "cdinf|
|000051e0| 6f 22 20 3d 20 22 72 65 | 6f 72 64 65 72 65 64 22 |o" = "re|ordered"|
|000051f0| 20 74 68 65 6e 0d 73 65 | 6e 64 20 73 68 75 66 66 | then.se|nd shuff|
|00005200| 6c 65 20 74 6f 20 62 67 | 20 22 54 4f 43 22 0d 70 |le to bg| "TOC".p|
|00005210| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6c 69 |ut empty| into li|
|00005220| 6e 65 20 31 20 6f 66 20 | 66 6c 64 20 22 63 64 69 |ne 1 of |fld "cdi|
|00005230| 6e 66 6f 22 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |nfo".put| "" into|
|00005240| 20 6c 69 6e 65 20 33 20 | 6f 66 20 66 6c 64 20 22 | line 3 |of fld "|
|00005250| 63 64 69 6e 66 6f 22 0d | 65 6e 64 20 69 66 0d 65 |cdinfo".|end if.e|
|00005260| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 69 66 20 |nd if.en|d if.if |
|00005270| 66 72 65 65 73 69 7a 65 | 20 6f 66 20 74 68 69 73 |freesize| of this|
|00005280| 20 73 74 61 63 6b 20 3e | 20 31 30 30 30 30 20 74 | stack >| 10000 t|
|00005290| 68 65 6e 0d 70 75 74 20 | 22 43 6f 6d 70 61 63 74 |hen.put |"Compact|
|000052a0| 69 6e 67 20 73 74 61 63 | 6b 2e 2e 2e 22 0d 64 6f |ing stac|k...".do|
|000052b0| 4d 65 6e 75 20 22 43 6f | 6d 70 61 63 74 20 53 74 |Menu "Co|mpact St|
|000052c0| 61 63 6b 22 0d 65 6e 64 | 20 69 66 0d 68 69 64 65 |ack".end| if.hide|
|000052d0| 20 6d 73 67 0d 65 6e 64 | 20 69 66 0d 70 61 73 73 | msg.end| if.pass|
|000052e0| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 65 6e 64 20 | closeSt|ack.end |
|000052f0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 0d 66 75 6e 63 |closeSta|ck..func|
|00005300| 74 69 6f 6e 20 74 6f 70 | 65 78 69 73 74 73 20 79 |tion top|exists y|
|00005310| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 74 |.lock sc|reen.put|
|00005320| 20 67 65 74 63 6e 61 6d | 65 28 79 29 20 69 6e 74 | getcnam|e(y) int|
|00005330| 6f 20 7a 0d 67 6f 20 63 | 64 20 28 7a 29 0d 69 66 |o z.go c|d (z).if|
|00005340| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00005350| 6f 66 20 74 68 69 73 20 | 63 64 20 3d 20 28 7a 29 |of this |cd = (z)|
|00005360| 20 74 68 65 6e 0d 67 6f | 20 62 61 63 6b 0d 72 65 | then.go| back.re|
|00005370| 74 75 72 6e 20 22 21 21 | 21 22 0d 65 6c 73 65 0d |turn "!!|!".else.|
|00005380| 72 65 74 75 72 6e 20 74 | 68 65 20 73 68 6f 72 74 |return t|he short|
|00005390| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|000053a0| 0d 65 6e 64 20 69 66 0d | 75 6e 6c 6f 63 6b 20 73 |.end if.|unlock s|
|000053b0| 63 72 65 65 6e 0d 65 6e | 64 20 74 6f 70 65 78 69 |creen.en|d topexi|
|000053c0| 73 74 73 0d 0d 66 75 6e | 63 74 69 6f 6e 20 63 68 |sts..fun|ction ch|
|000053d0| 6b 64 65 6c 65 74 65 73 | 0d 72 65 70 65 61 74 20 |kdeletes|.repeat |
|000053e0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|000053f0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00005400| 73 20 6f 66 20 66 6c 64 | 20 22 63 68 61 70 6c 69 |s of fld| "chapli|
|00005410| 73 74 22 0d 69 66 20 63 | 68 61 72 20 31 20 6f 66 |st".if c|har 1 of|
|00005420| 20 6c 69 6e 65 20 69 20 | 6f 66 20 66 6c 64 20 22 | line i |of fld "|
|00005430| 63 68 61 70 6c 69 73 74 | 22 20 3d 20 64 65 6c 6d |chaplist|" = delm|
|00005440| 61 72 6b 28 29 20 74 68 | 65 6e 0d 72 65 74 75 72 |ark() th|en.retur|
|00005450| 6e 20 22 74 72 75 65 22 | 0d 65 78 69 74 20 63 68 |n "true"|.exit ch|
|00005460| 6b 64 65 6c 65 74 65 73 | 0d 65 6e 64 20 69 66 0d |kdeletes|.end if.|
|00005470| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 70 65 61 |end repe|at.repea|
|00005480| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00005490| 31 32 0d 69 66 20 66 6c | 64 20 69 20 ad 20 22 22 |12.if fl|d i . ""|
|000054a0| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|000054b0| 68 20 6a 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h j = 1 |to the n|
|000054c0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|000054d0| 66 20 66 6c 64 20 69 0d | 69 66 20 63 68 61 72 20 |f fld i.|if char |
|000054e0| 31 20 6f 66 20 6c 69 6e | 65 20 6a 20 6f 66 20 66 |1 of lin|e j of f|
|000054f0| 6c 64 20 69 20 3d 20 64 | 65 6c 6d 61 72 6b 28 29 |ld i = d|elmark()|
|00005500| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 22 74 72 | then.re|turn "tr|
|00005510| 75 65 22 0d 65 78 69 74 | 20 63 68 6b 64 65 6c 65 |ue".exit| chkdele|
|00005520| 74 65 73 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |tes.end |if.end r|
|00005530| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|00005540| 20 72 65 70 65 61 74 0d | 69 66 20 6c 69 6e 65 20 | repeat.|if line |
|00005550| 33 20 6f 66 20 66 6c 64 | 20 22 63 64 69 6e 66 6f |3 of fld| "cdinfo|
|00005560| 22 20 ad 20 22 72 65 6f | 72 64 65 72 65 64 22 20 |" . "reo|rdered" |
|00005570| 74 68 65 6e 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |then.put| "" into|
|00005580| 20 6c 69 6e 65 20 31 20 | 6f 66 20 66 6c 64 20 22 | line 1 |of fld "|
|00005590| 63 64 69 6e 66 6f 22 0d | 65 6e 64 20 69 66 0d 72 |cdinfo".|end if.r|
|000055a0| 65 74 75 72 6e 20 22 66 | 61 6c 73 65 22 0d 65 6e |eturn "f|alse".en|
|000055b0| 64 20 63 68 6b 64 65 6c | 65 74 65 73 0d 0d 66 75 |d chkdel|etes..fu|
|000055c0| 6e 63 74 69 6f 6e 20 62 | 67 6c 69 73 74 0d 72 65 |nction b|glist.re|
|000055d0| 74 75 72 6e 20 22 56 65 | 72 74 69 63 61 6c 22 20 |turn "Ve|rtical" |
|000055e0| 26 20 72 65 74 75 72 6e | 20 26 20 22 54 61 62 6c |& return| & "Tabl|
|000055f0| 65 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 48 |e" & ret|urn & "H|
|00005600| 6f 72 69 7a 6f 6e 74 61 | 6c 22 20 26 c2 0d 72 65 |orizonta|l" &..re|
|00005610| 74 75 72 6e 20 26 20 22 | 4d 65 6e 75 22 0d 65 6e |turn & "|Menu".en|
|00005620| 64 20 62 67 6c 69 73 74 | 0d 0d 66 75 6e 63 74 69 |d bglist|..functi|
|00005630| 6f 6e 20 76 65 72 73 0d | 70 75 74 20 22 48 65 6c |on vers.|put "Hel|
|00005640| 70 20 57 72 69 74 65 72 | 20 73 36 30 2e 31 22 20 |p Writer| s60.1" |
|00005650| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 78 0d |& return| into x.|
|00005660| 70 75 74 20 22 50 72 6f | 67 72 61 6d 6d 65 72 3a |put "Pro|grammer:|
|00005670| 20 53 74 65 76 65 6e 20 | 4c 2e 20 4e 65 6c 73 6f | Steven |L. Nelso|
|00005680| 6e 20 26 20 41 73 73 6f | 63 69 61 74 65 73 22 20 |n & Asso|ciates" |
|00005690| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 78 |& return| after x|
|000056a0| 0d 70 75 74 20 22 28 34 | 30 38 29 20 39 38 37 2d |.put "(4|08) 987-|
|000056b0| 37 32 35 39 20 6f 72 20 | 28 34 31 35 29 20 34 39 |7259 or |(415) 49|
|000056c0| 34 2d 39 33 38 31 22 20 | 26 20 72 65 74 75 72 6e |4-9381" |& return|
|000056d0| 20 61 66 74 65 72 20 78 | 0d 70 75 74 20 22 66 6f | after x|.put "fo|
|000056e0| 72 20 43 6c 61 72 69 73 | 20 43 6f 72 70 6f 72 61 |r Claris| Corpora|
|000056f0| 74 69 6f 6e 22 20 26 20 | 72 65 74 75 72 6e 20 61 |tion" & |return a|
|00005700| 66 74 65 72 20 78 0d 70 | 75 74 20 22 41 70 70 6c |fter x.p|ut "Appl|
|00005710| 65 4c 69 6e 6b 20 63 6c | 61 72 69 73 2e 70 75 62 |eLink cl|aris.pub|
|00005720| 73 20 6f 72 20 58 31 34 | 38 33 22 20 26 20 72 65 |s or X14|83" & re|
|00005730| 74 75 72 6e 20 61 66 74 | 65 72 20 78 0d 72 65 74 |turn aft|er x.ret|
|00005740| 75 72 6e 20 78 0d 65 6e | 64 20 76 65 72 73 0d 0d |urn x.en|d vers..|
|00005750| 66 75 6e 63 74 69 6f 6e | 20 64 65 66 61 75 6c 74 |function| default|
|00005760| 70 6f 73 20 69 0d 72 65 | 74 75 72 6e 20 22 34 38 |pos i.re|turn "48|
|00005770| 34 2c 22 20 26 20 28 32 | 36 20 2b 20 28 69 20 2a |4," & (2|6 + (i *|
|00005780| 20 31 36 29 29 20 26 20 | 22 2c 35 30 32 2c 22 20 | 16)) & |",502," |
|00005790| 26 20 28 34 30 20 2b 20 | 28 69 20 2a 20 31 36 29 |& (40 + |(i * 16)|
|000057a0| 29 0d 65 6e 64 20 64 65 | 66 61 75 6c 74 70 6f 73 |).end de|faultpos|
|000057b0| 0d 0d 6f 6e 20 73 65 74 | 53 63 72 20 78 0d 67 6c |..on set|Scr x.gl|
|000057c0| 6f 62 61 6c 20 73 73 63 | 72 0d 73 65 74 20 74 68 |obal ssc|r.set th|
|000057d0| 65 20 73 63 72 69 70 74 | 20 6f 66 20 28 78 29 20 |e script| of (x) |
|000057e0| 74 6f 20 28 73 73 63 72 | 29 0d 65 6e 64 20 73 65 |to (sscr|).end se|
|000057f0| 74 53 63 72 0d 00 70 75 | 74 20 28 77 6f 72 64 20 |tScr..pu|t (word |
|00005800| 31 20 74 6f 20 32 20 6f | 66 20 6f 6c 64 6e 29 20 |1 to 2 o|f oldn) |
|00005810| 26 26 20 22 69 64 22 20 | 26 26 20 62 69 64 20 69 |&& "id" |&& bid i|
|00005820| 6e 74 6f 20 79 0d 61 73 | 6b 20 22 50 6c 65 61 73 |nto y.as|k "Pleas|
|00005830| 65 20 65 6e 74 65 72 20 | 6e 65 77 20 74 65 78 74 |e enter |new text|
|00005840| 20 66 6f 72 20 74 68 69 | 73 20 62 75 74 74 6f 6e | for thi|s button|
|00005850| 3a 22 20 77 69 74 68 20 | 63 68 61 72 20 32 20 74 |:" with |char 2 t|
|00005860| 6f c2 0d 28 6c 65 6e 67 | 74 68 28 78 29 2d 31 29 |o..(leng|th(x)-1)|
|00005870| 20 6f 66 20 78 0d 69 66 | 20 69 74 20 ad 20 22 22 | of x.if| it . ""|
|00005880| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 6e 61 | then.se|t the na|
|00005890| 6d 65 20 6f 66 20 28 79 | 29 20 74 6f 20 69 74 0d |me of (y|) to it.|
|000058a0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 62 72 65 6e 61 |end if.e|nd brena|
|000058b0| 6d 65 0d 0d 6f 6e 20 65 | 72 72 6f 72 20 78 0d 69 |me..on e|rror x.i|
|000058c0| 66 20 78 20 69 73 20 22 | 6d 63 22 20 74 68 65 6e |f x is "|mc" then|
|000058d0| 0d 61 6e 73 77 65 72 20 | 22 53 6f 72 72 79 2c 20 |.answer |"Sorry, |
|000058e0| 63 61 6e d5 74 20 66 69 | 6e 64 20 74 68 61 74 20 |can.t fi|nd that |
|000058f0| 63 61 72 64 21 22 0d 65 | 6c 73 65 0d 61 6e 73 77 |card!".e|lse.answ|
|00005900| 65 72 20 22 53 6f 72 72 | 79 2c 20 65 72 72 6f 72 |er "Sorr|y, error|
|00005910| 20 63 6f 64 65 22 20 26 | 26 20 71 75 6f 74 65 20 | code" &|& quote |
|00005920| 26 20 78 20 26 26 20 22 | 21 22 0d 65 6e 64 20 69 |& x && "|!".end i|
|00005930| 66 0d 65 6e 64 20 65 72 | 72 6f 72 0d 0d 6f 6e 20 |f.end er|ror..on |
|00005940| 6e 6f 74 64 6f 6e 65 0d | 61 6e 73 77 65 72 20 22 |notdone.|answer "|
|00005950| 53 6f 72 72 79 2c 20 74 | 68 61 74 20 66 65 61 74 |Sorry, t|hat feat|
|00005960| 75 72 65 20 69 73 20 6e | 6f 74 20 79 65 74 20 69 |ure is n|ot yet i|
|00005970| 6d 70 6c 65 6d 65 6e 74 | 65 64 2e 22 0d 65 6e 64 |mplement|ed.".end|
|00005980| 20 6e 6f 74 64 6f 6e 65 | 0d 0d 6f 6e 20 6f 70 65 | notdone|..on ope|
|00005990| 6e 53 74 61 63 6b 0d 70 | 75 73 68 20 63 64 0d 70 |nStack.p|ush cd.p|
|000059a0| 61 73 73 20 6f 70 65 6e | 53 74 61 63 6b 0d 65 6e |ass open|Stack.en|
|000059b0| 64 20 6f 70 65 6e 53 74 | 61 63 6b 0d 0d 6f 6e 20 |d openSt|ack..on |
|000059c0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 69 66 20 74 68 |closeSta|ck.if th|
|000059d0| 65 20 73 68 69 66 74 4b | 65 79 20 69 73 20 75 70 |e shiftK|ey is up|
|000059e0| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 22 43 6f 6e | then.go| cd "Con|
|000059f0| 74 65 6e 74 73 20 54 65 | 6d 70 6c 61 74 65 22 0d |tents Te|mplate".|
|00005a00| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |if line |1 of fld|
|00005a10| 20 22 63 64 69 6e 66 6f | 22 20 3d 20 22 63 68 61 | "cdinfo|" = "cha|
|00005a20| 6e 67 65 64 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |nged" th|en.answe|
|00005a30| 72 20 22 55 70 64 61 74 | 65 20 73 74 61 63 6b 20 |r "Updat|e stack |
|00005a40| 74 6f 20 6d 61 74 63 68 | 20 6e 65 77 20 54 4f 43 |to match| new TOC|
|00005a50| 3f 22 20 77 69 74 68 c2 | 0d 22 59 65 73 22 20 6f |?" with.|."Yes" o|
|00005a60| 72 20 22 4e 6f 22 0d 69 | 66 20 69 74 20 69 73 20 |r "No".i|f it is |
|00005a70| 22 59 65 73 22 20 74 68 | 65 6e 0d 69 66 20 63 68 |"Yes" th|en.if ch|
|00005a80| 6b 64 65 6c 65 74 65 73 | 28 29 20 3d 20 22 74 72 |kdeletes|() = "tr|
|00005a90| 75 65 22 20 74 68 65 6e | 0d 73 65 6e 64 20 64 6f |ue" then|.send do|
|00005aa0| 64 65 6c 65 74 65 73 20 | 74 6f 20 62 67 20 22 54 |deletes |to bg "T|
|00005ab0| 4f 43 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |OC".put |empty in|
|00005ac0| 74 6f 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |to line |1 of fld|
|00005ad0| 20 22 63 64 69 6e 66 6f | 22 0d 65 6e 64 20 69 66 | "cdinfo|".end if|
|00005ae0| 0d 69 66 20 6c 69 6e 65 | 20 33 20 6f 66 20 66 6c |.if line| 3 of fl|
|00005af0| 64 20 22 63 64 69 6e 66 | 6f 22 20 3d 20 22 72 65 |d "cdinf|o" = "re|
|00005b00| 6f 72 64 65 72 65 64 22 | 20 74 68 65 6e 0d 73 65 |ordered"| then.se|
|00005b10| 6e 64 20 73 68 75 66 66 | 6c 65 20 74 6f 20 62 67 |nd shuff|le to bg|
|00005b20| 20 22 54 4f 43 22 0d 70 | 75 74 20 65 6d 70 74 79 | "TOC".p|ut empty|
|00005b30| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 20 6f 66 20 | into li|ne 1 of |
|00005b40| 66 6c 64 20 22 63 64 69 | 6e 66 6f 22 0d 70 75 74 |fld "cdi|nfo".put|
|00005b50| 20 22 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 33 20 | "" into| line 3 |
|00005b60| 6f 66 20 66 6c 64 20 22 | 63 64 69 6e 66 6f 22 0d |of fld "|cdinfo".|
|00005b70| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00005b80| 64 20 69 66 0d 69 66 20 | 66 72 65 65 73 69 7a 65 |d if.if |freesize|
|00005b90| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 3e | of this| stack >|
|00005ba0| 20 31 30 30 30 30 20 74 | 68 65 6e 0d 70 75 74 20 | 10000 t|hen.put |
|00005bb0| 22 43 6f 6d 70 61 63 74 | 69 6e 67 20 73 74 61 63 |"Compact|ing stac|
|00005bc0| 6b 2e 2e 2e 22 0d 64 6f | 4d 65 6e 75 20 22 43 6f |k...".do|Menu "Co|
|00005bd0| 6d 70 61 63 74 20 53 74 | 61 63 6b 22 0d 65 6e 64 |mpact St|ack".end|
|00005be0| 20 69 66 0d 68 69 64 65 | 20 6d 73 67 0d 65 6e 64 | if.hide| msg.end|
|00005bf0| 20 69 66 0d 70 61 73 73 | 20 63 6c 6f 73 65 53 74 | if.pass| closeSt|
|00005c00| 61 63 6b 0d 65 6e 64 20 | 63 6c 6f 73 65 53 74 61 |ack.end |closeSta|
|00005c10| 63 6b 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 74 6f 70 |ck..func|tion top|
|00005c20| 65 78 69 73 74 73 20 79 | 0d 6c 6f 63 6b 20 73 63 |exists y|.lock sc|
|00005c30| 72 65 65 6e 0d 70 75 74 | 20 67 65 74 63 6e 61 6d |reen.put| getcnam|
|00005c40| 65 28 79 29 20 69 6e 74 | 6f 20 7a 0d 67 6f 20 63 |e(y) int|o z.go c|
|00005c50| 64 20 28 7a 29 0d 69 66 | 20 74 68 65 20 73 68 6f |d (z).if| the sho|
|00005c60| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005c70| 63 64 20 3d 20 28 7a 29 | 20 74 68 65 6e 0d 67 6f |cd = (z)| then.go|
|00005c80| 20 62 61 63 6b 0d 72 65 | 74 75 72 6e 20 22 21 21 | back.re|turn "!!|
|00005c90| 21 22 0d 65 6c 73 65 0d | 72 65 74 75 72 6e 20 74 |!".else.|return t|
|00005ca0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00005cb0| 20 74 68 69 73 20 63 64 | 0d 65 6e 64 20 69 66 0d | this cd|.end if.|
|00005cc0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00005cd0| 64 20 74 6f 70 65 78 69 | 73 74 73 0d 0d 66 75 6e |d topexi|sts..fun|
|00005ce0| 63 74 69 6f 6e 20 63 68 | 6b 64 65 6c 65 74 65 73 |ction ch|kdeletes|
|00005cf0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00005d00| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00005d10| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 6c 64 | of line|s of fld|
|00005d20| 20 22 63 68 61 70 6c 69 | 73 74 22 0d 69 66 20 63 | "chapli|st".if c|
|00005d30| 68 61 72 20 31 20 6f 66 | 20 6c 69 6e 65 20 69 20 |har 1 of| line i |
|00005d40| 6f 66 20 66 6c 64 20 22 | 63 68 61 70 6c 69 73 74 |of fld "|chaplist|
|00005d50| 22 20 3d 20 64 65 6c 6d | 61 72 6b 28 29 20 74 68 |" = delm|ark() th|
|00005d60| 65 6e 0d 72 65 74 75 72 | 6e 20 22 74 72 75 65 22 |en.retur|n "true"|
|00005d70| 0d 65 78 69 74 20 63 68 | 6b 64 65 6c 65 74 65 73 |.exit ch|kdeletes|
|00005d80| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00005d90| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |at.repea|t with i|
|00005da0| 20 3d 20 31 20 74 6f 20 | 31 32 0d 69 66 20 66 6c | = 1 to |12.if fl|
|00005db0| 64 20 69 20 ad 20 22 22 | 20 74 68 65 6e 0d 72 65 |d i . ""| then.re|
|00005dc0| 70 65 61 74 20 77 69 74 | 68 20 6a 20 3d 20 31 20 |peat wit|h j = 1 |
|00005dd0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00005de0| 20 6c 69 6e 65 73 20 6f | 66 20 66 6c 64 20 69 0d | lines o|f fld i.|
|00005df0| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 6c 69 6e |if char |1 of lin|
|00005e00| 65 20 6a 20 6f 66 20 66 | 6c 64 20 69 20 3d 20 64 |e j of f|ld i = d|
|00005e10| 65 6c 6d 61 72 6b 28 29 | 20 74 68 65 6e 0d 72 65 |elmark()| then.re|
|00005e20| 74 75 72 6e 20 22 74 72 | 75 65 22 0d 65 78 69 74 |turn "tr|ue".exit|
|00005e30| 20 63 68 6b 64 65 6c 65 | 74 65 73 0d 65 6e 64 20 | chkdele|tes.end |
|00005e40| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |if.end r|epeat.en|
|00005e50| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00005e60| 69 66 20 6c 69 6e 65 20 | 33 20 6f 66 20 66 6c 64 |if line |3 of fld|
|00005e70| 20 22 63 64 69 6e 66 6f | 22 20 ad 20 22 72 65 6f | "cdinfo|" . "reo|
|00005e80| 72 64 65 72 65 64 22 20 | 74 68 65 6e 0d 70 75 74 |rdered" |then.put|
|00005e90| 20 22 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 31 20 | "" into| line 1 |
|00005ea0| 6f 66 20 66 6c 64 20 22 | 63 64 69 6e 66 6f 22 0d |of fld "|cdinfo".|
|00005eb0| 65 6e 64 20 69 66 0d 72 | 65 74 75 72 6e 20 22 66 |end if.r|eturn "f|
|00005ec0| 61 6c 73 65 22 0d 65 6e | 64 20 63 68 6b 64 65 6c |alse".en|d chkdel|
|00005ed0| 65 74 65 73 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 62 |etes..fu|nction b|
|00005ee0| 67 6c 69 73 74 0d 72 65 | 74 75 72 6e 20 22 56 65 |glist.re|turn "Ve|
|00005ef0| 72 74 69 63 61 6c 22 20 | 26 20 72 65 74 75 72 6e |rtical" |& return|
|00005f00| 20 26 20 22 54 61 62 6c | 65 22 20 26 20 72 65 74 | & "Tabl|e" & ret|
|00005f10| 75 72 6e 20 26 20 22 48 | 6f 72 69 7a 6f 6e 74 61 |urn & "H|orizonta|
|00005f20| 6c 22 20 26 c2 0d 72 65 | 74 75 72 6e 20 26 20 22 |l" &..re|turn & "|
|00005f30| 4d 65 6e 75 22 0d 65 6e | 64 20 62 67 6c 69 73 74 |Menu".en|d bglist|
|00005f40| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 76 65 72 73 0d |..functi|on vers.|
|00005f50| 70 75 74 20 22 48 65 6c | 70 20 57 72 69 74 65 72 |put "Hel|p Writer|
|00005f60| 20 73 36 30 2e 31 22 20 | 26 20 72 65 74 75 72 6e | s60.1" |& return|
|00005f70| 20 69 6e 74 6f 20 78 0d | 70 75 74 20 22 50 72 6f | into x.|put "Pro|
|00005f80| 67 72 61 6d 6d 65 72 3a | 20 53 74 65 76 65 6e 20 |grammer:| Steven |
|00005f90| 4c 2e 20 4e 65 6c 73 6f | 6e 20 26 20 41 73 73 6f |L. Nelso|n & Asso|
|00005fa0| 63 69 61 74 65 73 22 20 | 26 20 72 65 74 75 72 6e |ciates" |& return|
|00005fb0| 20 61 66 74 65 72 20 78 | 0d 70 75 74 20 22 28 34 | after x|.put "(4|
|00005fc0| 30 38 29 20 39 38 37 2d | 37 32 35 39 20 6f 72 20 |08) 987-|7259 or |
|00005fd0| 28 34 31 35 29 20 34 39 | 34 2d 39 33 38 31 22 20 |(415) 49|4-9381" |
|00005fe0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 78 |& return| after x|
|00005ff0| 0d 70 75 74 20 22 66 6f | 72 20 43 6c 61 72 69 73 |.put "fo|r Claris|
|00006000| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 22 20 26 20 | Corpora|tion" & |
|00006010| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 78 0d 70 |return a|fter x.p|
|00006020| 75 74 20 22 41 70 70 6c | 65 4c 69 6e 6b 20 63 6c |ut "Appl|eLink cl|
|00006030| 61 72 69 73 2e 70 75 62 | 73 20 6f 72 20 58 31 34 |aris.pub|s or X14|
|00006040| 38 33 22 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |83" & re|turn aft|
|00006050| 65 72 20 78 0d 72 65 74 | 75 72 6e 20 78 0d 65 6e |er x.ret|urn x.en|
|00006060| 64 20 76 65 72 73 0d 0d | 66 75 6e 63 74 69 6f 6e |d vers..|function|
|00006070| 20 64 65 66 61 75 6c 74 | 70 6f 73 20 69 0d 72 65 | default|pos i.re|
|00006080| 74 75 72 6e 20 22 34 38 | 34 2c 22 20 26 20 28 32 |turn "48|4," & (2|
|00006090| 36 20 2b 20 28 69 20 2a | 20 31 36 29 29 20 26 20 |6 + (i *| 16)) & |
|000060a0| 22 2c 35 30 32 2c 22 20 | 26 20 28 34 30 20 2b 20 |",502," |& (40 + |
|000060b0| 28 69 20 2a 20 31 36 29 | 29 0d 65 6e 64 20 64 65 |(i * 16)|).end de|
|000060c0| 66 61 75 6c 74 70 6f 73 | 0d 0d 6f 6e 20 73 65 74 |faultpos|..on set|
|000060d0| 53 63 72 20 78 0d 67 6c | 6f 62 61 6c 20 73 73 63 |Scr x.gl|obal ssc|
|000060e0| 72 0d 73 65 74 20 74 68 | 65 20 73 63 72 69 70 74 |r.set th|e script|
|000060f0| 20 6f 66 20 28 78 29 20 | 74 6f 20 28 73 73 63 72 | of (x) |to (sscr|
|00006100| 29 0d 65 6e 64 20 73 65 | 74 53 63 72 0d 00 00 00 |).end se|tScr....|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 0a 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 06 17 54 00 05 1d 03 | 00 03 60 d3 00 08 64 dc |...T....|..`...d.|
|000062b0| 00 46 00 62 00 08 c4 cc | 00 05 22 bc 00 05 4d 84 |.F.b....|.."...M.|
|000062c0| 00 06 e4 e9 00 09 78 a8 | 00 09 8b 94 00 08 f1 2e |......x.|........|
|000062d0| 00 05 b9 00 00 06 12 b4 | 00 09 30 c6 00 08 58 64 |........|..0...Xd|
|000062e0| 00 08 de 1f 00 09 99 61 | 00 42 bf 1f 00 04 e4 2d |.......a|.B.....-|
|000062f0| 00 09 b3 1c 00 09 65 72 | 00 46 40 25 00 0a 7e 89 |......er|.F@%..~.|
|00006300| 00 46 35 5f 00 1e 4d 51 | 00 3f 48 e3 00 1f 11 01 |.F5_..MQ|.?H.....|
|00006310| 00 0a f5 b6 00 1f 9d bb | 00 1e a5 a2 00 1f 4e 61 |........|......Na|
|00006320| 00 1e 7b 1c 00 1f db 88 | 00 26 4a 31 00 43 1d 15 |..{.....|.&J1.C..|
|00006330| 00 10 6a 8a 00 0b bc c5 | 00 0c 55 f7 00 0c a2 46 |..j.....|..U....F|
|00006340| 00 0c da 87 00 0d 3a 3e | 00 06 ac c3 00 46 54 c0 |......:>|.....FT.|
|00006350| 00 0d cd c9 00 0e 63 08 | 00 21 f7 a6 00 22 c9 36 |......c.|.!...".6|
|00006360| 00 23 03 e1 00 0f 19 10 | 00 2f 2e 48 00 20 5a 12 |.#......|./.H. Z.|
|00006370| 00 0f 5d f1 00 20 da e4 | 00 22 5b 06 00 0f 91 9e |..].. ..|."[.....|
|00006380| 00 2f 07 06 00 0f cd 4c | 00 11 1c f0 00 26 85 65 |./.....L|.....&.e|
|00006390| 00 23 6c ee 00 23 d3 b1 | 00 24 7f 9f 00 24 eb 3f |.#l..#..|.$...$.?|
|000063a0| 00 24 47 b0 00 1e e4 eb | 00 11 a0 c5 00 24 b1 02 |.$G.....|.....$..|
|000063b0| 00 25 29 2c 00 25 fb 0e | 00 25 af 35 00 05 86 0b |.%),.%..|.%.5....|
|000063c0| 00 12 25 08 00 29 4a 51 | 00 05 b5 24 00 12 a7 99 |..%..)JQ|...$....|
|000063d0| 00 13 44 e1 00 05 51 00 | 00 05 82 70 00 13 a0 f4 |..D...Q.|...p....|
|000063e0| 00 11 59 f0 00 1f 8d 7c | 00 14 23 2b 00 14 a9 88 |..Y....||..#+....|
|000063f0| 00 28 bc ea 00 29 08 78 | 00 28 64 f1 00 28 9f 66 |.(...).x|.(d..(.f|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.